8 lines
333 B
HCL
8 lines
333 B
HCL
# API service policy (attached to the AppRole messenger-api).
|
|
# Least privilege: the token can only read this service's own KV v2 secret.
|
|
# No root, no wildcard paths, no ability to write policies or read other
|
|
# services' secrets -- a stolen API token cannot escalate.
|
|
path "secret/data/messenger/api" {
|
|
capabilities = ["read"]
|
|
}
|