This commit is contained in:
2026-11-08 00:33:25 +03:00
parent 20afc2c790
commit 3d5c6a6689
148 changed files with 21441 additions and 79 deletions
+6
View File
@@ -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"]
}