HCVA0-003 practice question 15 of 35

True or False? To prepare for day-to-day operations, the root token should be safely saved outside of Vault in order to administer Vault.

Full set: 285 questions
Answer options
A: True Correct answer
B: False
Correct Answer:
F; A. True; L; S; E
Explanation

The statement is false. The initial root token is a highly privileged credential intended exclusively for the initial setup of Vault (e.g., configuring authentication methods and initial policies) or for emergency, "break-glass" scenarios. For day-to-day operations, the principle of least privilege must be applied. Administrators should use less-privileged tokens or authentication methods with narrowly-scoped policies. The recommended security best practice is to revoke the initial root token as soon as the initial configuration is complete and alternative administrative access has been established.

Why Incorrect

The statement 'True' is incorrect because using the root token for routine administrative tasks creates a significant and unnecessary security risk. The root token grants unrestricted access to Vault; if it were compromised, the entire secrets management system would be compromised. This practice directly violates the security recommendations provided by HashiCorp.

References

1. HashiCorp Vault Official Documentation, "Production Hardening" Guide:

Reference: In the section titled "Root Token and Unseal Keys," the documentation explicitly states: "The root token should be revoked before the Vault is moved into production. For daily operations, use tokens that have been created with a more restrictive set of policies."

Source: HashiCorp, "Production Hardening - Vault," Vault Documentation, accessed October 26, 2023. (This is a standard, well-known guide in the official documentation).

2. HashiCorp Learn, "Vault Getting Started" Tutorial:

Reference: In the "Create a Secrets Engine" tutorial, Step 3 ("Create a Policy") guides the user to create a non-root policy. The tutorial's premise is to establish secure patterns from the beginning, which involves moving away from the root token. It states, "The root token you have been using has full privileges to your Vault. While this is fine for a dev server, you will want to be more restrictive in a production environment."

Source: HashiCorp Learn, "Getting Started: First Secrets with Vault," HashiCorp Developer, accessed October 26, 2023.

3. HashiCorp Vault Official Documentation, "Tokens" Concept Page:

Reference: The documentation describes the root token as follows: "Root tokens are tokens that have the root policy attached to them... A root token can do anything in Vault... As a result, you should revoke root tokens as soon as they are no longer needed." This description underscores its power and the necessity of limiting its use.

Source: HashiCorp, "Tokens - Vault," Vault Documentation, Concepts, accessed October 26, 2023.

Scroll to Top