8 lines
343 B
HCL
8 lines
343 B
HCL
# Worker service policy (attached to the AppRole messenger-worker).
|
|
# The worker gets its own path only: it must NOT be able to read the API's
|
|
# database URL or any admin credential. This separation is what limits the
|
|
# blast radius of a compromised worker (grade 5, track 1).
|
|
path "secret/data/messenger/worker" {
|
|
capabilities = ["read"]
|
|
}
|