feat: add credential broker token helper
This commit is contained in:
23
openbao/policies/credential-broker-warden-sign-issuer.hcl
Normal file
23
openbao/policies/credential-broker-warden-sign-issuer.hcl
Normal file
@@ -0,0 +1,23 @@
|
||||
# Narrow issuer policy for the credential broker warden-sign pilot.
|
||||
# This policy can create child tokens only through the warden-sign token role.
|
||||
# Bind it to a broker/operator issuer identity, not to tenant workloads.
|
||||
|
||||
path "auth/token/create/warden-sign" {
|
||||
capabilities = ["create", "update"]
|
||||
}
|
||||
|
||||
path "auth/token/lookup-accessor" {
|
||||
capabilities = ["update"]
|
||||
}
|
||||
|
||||
path "auth/token/revoke-accessor" {
|
||||
capabilities = ["update"]
|
||||
}
|
||||
|
||||
path "auth/token/lookup-self" {
|
||||
capabilities = ["read"]
|
||||
}
|
||||
|
||||
path "sys/capabilities-self" {
|
||||
capabilities = ["update"]
|
||||
}
|
||||
Reference in New Issue
Block a user