railiance-platform/openbao/policies/workload-kv-read-forgejo-admin.hcl
tegwick b11855f64c
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
Document activity-core ESO read of forgejo-admin
Extend external-secrets-activity-core policy notes with forgejo-admin
paths used by activity-core actcore-forgejo-admin ExternalSecret
(ACTIVITY-WP-0023-T05).
2026-07-21 23:19:10 +02:00

17 lines
No EOL
622 B
HCL

# Least-privilege read policy for the Forgejo operator/admin API token (PAT).
#
# Grants read access to the site-admin PAT used by workstation and activity-core
# automation (package prune, org webhooks, operator bootstrap). Sibling to
# forgejo-mailer (SMTP).
#
# Cluster delivery (ACTIVITY-WP-0023-T05): attached to the
# openbao-activity-core ESO token so ExternalSecret actcore-forgejo-admin can
# merge FORGEJO_TOKEN into actcore-runtime-secret.
path "platform/data/workloads/forgejo/forgejo-admin" {
capabilities = ["read"]
}
path "platform/metadata/workloads/forgejo/forgejo-admin" {
capabilities = ["read"]
}