VAULT-ASSOCIATE-002 · Question #83
As a best practice, the root token should be stored in which of the following ways?
The correct answer is A. Should be revoked and never stored after initial setup. As a security best practice, the Vault root token should be revoked immediately after initial setup and never stored.
Question
Options
- AShould be revoked and never stored after initial setup
- BShould be stored in configuration automation tooling
- CShould be stored in another password safe
- DShould be stored in Vault
How the community answered
(49 responses)- A88% (43)
- B6% (3)
- C4% (2)
- D2% (1)
Why each option
As a security best practice, the Vault root token should be revoked immediately after initial setup and never stored.
The root token has unlimited privileges and is primarily intended for initial setup and disaster recovery scenarios. For daily operations, less privileged tokens or authentication methods should be used, and the root token should be revoked after the necessary initial configurations are complete to minimize its exposure and potential for misuse.
Storing the root token in configuration automation tooling is a significant security risk due to its high privileges and potential for automated compromise.
Storing the root token in another password safe still exposes it to potential compromise; its immense power dictates it should not be stored for regular use.
Storing the root token within Vault itself is a circular dependency and a major security vulnerability, as the root token can access everything in Vault.
Concept tested: Vault root token security management
Source: https://developer.hashicorp.com/vault/docs/concepts/tokens#root-tokens-and-their-care-and-feeding
Topics
Community Discussion
No community discussion yet for this question.