Self-managed: limit what one Secret read in the AR namespace exposes
Problem
On a self-managed install, the AR root key, the database password, and the bucket keys are all Secrets in the artifact-registry namespace. Anyone who can read Secrets there gets all three.
Splitting the namespace doesn't help, because a pod can mount Secrets only from its own namespace. AR v2.149.0 has one root-key topology, local (internal/config/encryption.go), which loads the key from a mounted Secret.
The install guide asks for etcd encryption at rest, and stage 3 shows a Role that limits who can read Secrets (!3472 (merged)). Those limit who can read the Secrets, but whoever can read one Secret can read all three. self-managed-limitations.md accepts this as closed beta risk 10.
Proposal
Decide which of these self-managed should use, and document it:
- A root-key provider outside the cluster, such as a cloud KMS, so the root key is not a Secret.
- Workload identity for the bucket, so no bucket keys are stored.
- PostgreSQL authentication without a stored password, where the provider supports it.
Done when
- Each value in the namespace has a chosen approach, recorded here.
- The install guide documents what is available, and limitations risk 10 is updated or removed.
Context
Split from #1553 (closed). That issue delivered the rotation steps and the example Role, and left the shared namespace as the remaining risk.