Grant agents approle read on kv/service/authentik/agent-api-token (#139)
ci/woodpecker/push/apply Pipeline was successful
ci/woodpecker/push/apply Pipeline was successful
## Summary - Grants the agents approle read on kv/service/authentik/agent-api-token ## Why Automation seeds oauth client secrets and LDAP outpost tokens; fetching outpost tokens needs a scoped Authentik API token, seeded at this path by the operator. Reviewed-on: #139 Co-authored-by: unkin-agent <unkin-agent@unkin.net> Co-committed-by: unkin-agent <unkin-agent@unkin.net>
This commit was merged in pull request #139.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# Lets the agents AppRole read a dedicated, scoped Authentik API token seeded by
|
||||
# the operator. Automation seeds OAuth2 client secrets and LDAP outpost tokens as
|
||||
# part of normal IaC workflows; fetching an outpost token requires calling the
|
||||
# Authentik API, so a scoped token (not the CI admin credential) is read here.
|
||||
# Mirrors the gitea/creds/unkin-agent agents-approle read grant pattern.
|
||||
---
|
||||
rules:
|
||||
- path: "kv/data/service/authentik/agent-api-token"
|
||||
capabilities:
|
||||
- read
|
||||
|
||||
auth:
|
||||
approle:
|
||||
- agents
|
||||
Reference in New Issue
Block a user