Files
mtusi2026lab7/infra/openbao/policies/relay.hcl

14 lines
374 B
HCL

# Policy of the AppRole `relay`: messenger/data/relay = database_url (role messenger_relay) and
# broker_url (RabbitMQ user relay: publish to the jobs exchange only). Read only, nothing else.
path "messenger/data/relay" {
capabilities = ["read"]
}
path "auth/token/lookup-self" {
capabilities = ["read"]
}
path "auth/token/revoke-self" {
capabilities = ["update"]
}