Grant the agents approle read+write on the woodpecker agent token #151

Merged
benvin merged 1 commits from benvin/woodpecker-agents-token into master 2026-09-12 13:19:57 +10:00
Member

Agents query the Woodpecker API to inspect pipeline runs and failing steps while reviewing PRs. That token is currently pasted into agent config by hand, so it lives in plaintext on disk instead of in Vault.

  • add policies/kv/service/woodpecker/tokens/agents.yaml
  • grant the agents approle create/read/update on kv/data/service/woodpecker/tokens/agents
  • grant read/list on the matching metadata path; no delete, mirroring the kv/kubernetes/* grant

Token seeding follows once this is applied.

Agents query the Woodpecker API to inspect pipeline runs and failing steps while reviewing PRs. That token is currently pasted into agent config by hand, so it lives in plaintext on disk instead of in Vault. - add `policies/kv/service/woodpecker/tokens/agents.yaml` - grant the `agents` approle create/read/update on `kv/data/service/woodpecker/tokens/agents` - grant read/list on the matching metadata path; no delete, mirroring the `kv/kubernetes/*` grant Token seeding follows once this is applied.
unkin-agent added 1 commit 2026-09-12 13:18:11 +10:00
Grant the agents approle read+write on the woodpecker agent token
ci/woodpecker/pr/plan Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
afa42b960a
benvin merged commit 9e18627567 into master 2026-09-12 13:19:57 +10:00
benvin deleted branch benvin/woodpecker-agents-token 2026-09-12 13:19:57 +10:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/terraform-vault#151