Compare commits
1 commit
1935475fb6
...
86fdfc0aa7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
86fdfc0aa7 |
2 changed files with 20 additions and 0 deletions
15
vault/policies/service-chat.hcl
Normal file
15
vault/policies/service-chat.hcl
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
# vault/policies/service-chat.hcl
|
||||||
|
#
|
||||||
|
# Read-only access to shared Chat secrets (OAuth client config, forward auth
|
||||||
|
# secret). Attached to the Chat Nomad job via workload identity (S5.2).
|
||||||
|
#
|
||||||
|
# Scope: kv/disinto/shared/chat — entries owned by the operator and
|
||||||
|
# shared between the chat service and edge proxy.
|
||||||
|
|
||||||
|
path "kv/data/disinto/shared/chat" {
|
||||||
|
capabilities = ["read"]
|
||||||
|
}
|
||||||
|
|
||||||
|
path "kv/metadata/disinto/shared/chat" {
|
||||||
|
capabilities = ["list", "read"]
|
||||||
|
}
|
||||||
|
|
@ -70,6 +70,11 @@ roles:
|
||||||
namespace: default
|
namespace: default
|
||||||
job_id: agents
|
job_id: agents
|
||||||
|
|
||||||
|
- name: service-chat
|
||||||
|
policy: service-chat
|
||||||
|
namespace: default
|
||||||
|
job_id: chat
|
||||||
|
|
||||||
# ── Per-agent bots (nomad/jobs/bot-<role>.hcl — land in later steps) ───────
|
# ── Per-agent bots (nomad/jobs/bot-<role>.hcl — land in later steps) ───────
|
||||||
# job_id placeholders match the policy name 1:1 until each bot's jobspec
|
# job_id placeholders match the policy name 1:1 until each bot's jobspec
|
||||||
# lands. When a bot's jobspec is added under nomad/jobs/, update the
|
# lands. When a bot's jobspec is added under nomad/jobs/, update the
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue