forked from mtusi2026/mtusi2026lab7
ЛР7
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# Policy of the API replicas (cert auth role messenger-api, certificate CN=api).
|
||||
# Only READ of its own KV v2 secret. No list, no metadata, no other paths, no sys/*.
|
||||
# Token lookup-self / renew-self come from the built-in "default" policy.
|
||||
path "secret/data/messenger/api" {
|
||||
capabilities = ["read"]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
# Policy of the worker (cert auth role messenger-worker, certificate CN=worker).
|
||||
# Only READ of its own KV v2 secret: the worker never sees API credentials
|
||||
# (Valkey password, API S3 keys, messenger_api DB password).
|
||||
path "secret/data/messenger/worker" {
|
||||
capabilities = ["read"]
|
||||
}
|
||||
Reference in New Issue
Block a user