lab7: OpenBao 2.7.3 (не dev, raft на volume, TLS, audit), AppRole и scoped policy для api/relay/worker, секреты только из OpenBao, скрипт оператора и проверка allow/deny

This commit is contained in:
Alexey Bodanyuk
2026-11-27 16:41:57 +03:00
parent 93f4ed1013
commit 876f610847
16 changed files with 623 additions and 45 deletions
+14
View File
@@ -0,0 +1,14 @@
# 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"]
}