fix: vault/policies/service-forgejo.hcl: path glob misses exact secret path (#900) #916
1 changed files with 3 additions and 3 deletions
|
|
@ -3,13 +3,13 @@
|
||||||
# Read-only access to shared Forgejo secrets (admin password, OAuth client
|
# Read-only access to shared Forgejo secrets (admin password, OAuth client
|
||||||
# config). Attached to the Forgejo Nomad job via workload identity (S2.4).
|
# config). Attached to the Forgejo Nomad job via workload identity (S2.4).
|
||||||
#
|
#
|
||||||
# Scope: kv/disinto/shared/forgejo/* — entries owned by the operator and
|
# Scope: kv/disinto/shared/forgejo — entries owned by the operator and
|
||||||
# shared between forgejo + the chat OAuth client (issue #855 lineage).
|
# shared between forgejo + the chat OAuth client (issue #855 lineage).
|
||||||
|
|
||||||
path "kv/data/disinto/shared/forgejo/*" {
|
path "kv/data/disinto/shared/forgejo" {
|
||||||
capabilities = ["read"]
|
capabilities = ["read"]
|
||||||
}
|
}
|
||||||
|
|
||||||
path "kv/metadata/disinto/shared/forgejo/*" {
|
path "kv/metadata/disinto/shared/forgejo" {
|
||||||
capabilities = ["list", "read"]
|
capabilities = ["list", "read"]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue