Open johnny990 opened 11 months ago
Hi @johnny990, thanks for your interest in Bank-Vaults and the well-thought propositions! Although the development of the operator is currently on hold until we know more about the implications of Hashicorp's license change, this issue definitely has a place on our roadmap.
Preflight Checklist
Problem Description
Hello, I've already posted similar questions in old repository, but it seems during migration issues were no moved, so I'd like to add it one more time with more details. We have quite strict security requirement in our deployment topology, so it is required to remove root token from vault deployment and in the same time we'd like to have automated init and configuration management. I understand that there is something like chicken-egg problem (we can't init and configure vault instance without root token), so I'm thinking about following options.
Proposed Solution
Alternatives Considered
Additional Information
There's a little bit confusing statement in documentation: https://bank-vaults.dev/docs/concepts/unseal-keys/:
HashiCorp [recommends revoking the root tokens](https://developer.hashicorp.com/vault/docs/concepts/tokens#root-tokens) after the initial set up of Vault has been completed.
Note: The vault-root token is not needed to unseal Vault, and can be removed from the storage if it was put there via the --init call to bank-vaults.
If I remove root token, vault-configurer will stop working and will spam logs. So, it would be great to have some option to manage it.