Vault IaC: secret drift cleanup #1518

Closed
opened 2026-08-07 15:49:27 +00:00 by ginjiruu · 1 comment
Owner

Vault secret drift cleanup

Separate from the Vault IaC implementation. Inventory surfaced the following drift while designing secret value ownership:

  • mx2 ClusterSecretStore points at a non-existent mx2-secrets mount (404). mx2 is the only repo store whose mount is absent.
  • Orphan Vault keys (present in Vault, no reader anywhere): wasabi-s3, grafana-admin-values, docker-mailserver-secrets, wiredoor-values.
  • kv-v2/ mount is legacy/unused (discord-flux-webhook, foo, forgejo, forgejo-db-creds).
  • base64-password ESO generator is defined but unreferenced.
  • vault-token is a duplicated root token shared across clusters (mini + portable identical) — needs AppRole replacement / rotation as part of Vault IaC.

Work items

  • Decide fate of orphan keys (delete or document as intentional).
  • Clean up or remove the kv-v2/ legacy mount.
  • Fix or remove the mx2 store reference.
  • Remove unused base64-password generator.
  • Replace the shared root vault-token with per-cluster AppRole tokens (aligned with the Vault IaC AppRole work).
# Vault secret drift cleanup Separate from the Vault IaC implementation. Inventory surfaced the following drift while designing secret value ownership: - **mx2 ClusterSecretStore** points at a non-existent `mx2-secrets` mount (404). mx2 is the only repo store whose mount is absent. - **Orphan Vault keys** (present in Vault, no reader anywhere): `wasabi-s3`, `grafana-admin-values`, `docker-mailserver-secrets`, `wiredoor-values`. - **`kv-v2/` mount** is legacy/unused (`discord-flux-webhook`, `foo`, `forgejo`, `forgejo-db-creds`). - **`base64-password` ESO generator** is defined but unreferenced. - **`vault-token`** is a duplicated root token shared across clusters (mini + portable identical) — needs AppRole replacement / rotation as part of Vault IaC. ## Work items - [ ] Decide fate of orphan keys (delete or document as intentional). - [ ] Clean up or remove the `kv-v2/` legacy mount. - [ ] Fix or remove the mx2 store reference. - [ ] Remove unused `base64-password` generator. - [ ] Replace the shared root `vault-token` with per-cluster AppRole tokens (aligned with the Vault IaC AppRole work).
ginjiruu added this to the Vault IaC milestone 2026-08-07 15:49:31 +00:00
Author
Owner

Closing as superseded by #1669 / lab/iac#184: what''s left lives only in mini Vault, which is being retired. The orphan keys and kv-v2 are not to be copied to OpenBao.

Closing as superseded by #1669 / lab/iac#184: what''s left lives only in mini Vault, which is being retired. The orphan keys and kv-v2 are not to be copied to OpenBao.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lab/clusters#1518
No description provided.