15 lines
467 B
HCL
15 lines
467 B
HCL
# Policy of the AppRole `worker`: messenger/data/worker = database_url (role messenger_worker),
|
|
# broker_url (RabbitMQ user worker: consume the jobs queue only), s3 key pair messenger-worker
|
|
# (staging + final, no List, no Admin). No admin credentials of the API, the database or S3.
|
|
path "messenger/data/worker" {
|
|
capabilities = ["read"]
|
|
}
|
|
|
|
path "auth/token/lookup-self" {
|
|
capabilities = ["read"]
|
|
}
|
|
|
|
path "auth/token/revoke-self" {
|
|
capabilities = ["update"]
|
|
}
|