# Every credential the bounded executor holds carries executor_subject service:nk-bind-executor, the identity
# its admissions name. Together they are its declared authority; `validate.py --admissions` checks that an
# admission's scope ceiling lies inside them. All grants are APPROVED: they act only during a consumed
# admission (SI-15). Pilot scope (T06): rotate the svc-authelia bind, one consumer.
identities:
- name:nk-bind-executor
principal_type:WORKLOAD
conventions:[executor]
executor_subject:"service:nk-bind-executor"
purpose:"Kubernetes ServiceAccount sso/nk-bind-executor: force-sync the authelia-secrets ExternalSecret and restart the authelia Deployment; no Secret read"
purpose:"OpenBao Kubernetes-auth role for sso/nk-bind-executor (CCR-2026-0058, approved, window-scoped): write the next version of the svc-authelia bind (CAS) and read it; holding the current value is what lets the executor change the bind's own password in LLDAP"
- {mode: OPERATE, scope: openbao/platform/workloads/net-kingdom/directory-binds/svc-authelia, activation: APPROVED, environments: [PRODUCTION], note:"KV data read and CAS write; 15 min TTL; role exists only in the admitted window (CCR-2026-0058)"}
- {mode: OPERATE, scope: lldap/people/svc-authelia, activation: APPROVED, environments: [PRODUCTION], note:"self-rotation: signs in as the bind with the KV value and changes its own password (hub 3d0c8f86)"}
owner:"NetKingdom directory and User Engine owners"
rotation:{path:"Bind password in OpenBao, rotated by the executor itself under an admission", coupling:[bounded-executor]}
status:planned
- name:svc-executor-admin
principal_type:SERVICE
conventions:[executor]
executor_subject:"service:nk-bind-executor"
purpose:"lldap_admin, only for root-class steps (create svc-* accounts, change the configured super-admin) under a high-risk admission; how membership is granted per run and removed afterwards is open"
grants:
- {mode: ADMINISTER, scope: lldap, activation: APPROVED, environments: [PRODUCTION], note:"root-class only; no narrower LLDAP group (SI-X6)"}