HCVA0-003 practice question 29 of 35

By default, what happens to child tokens when a parent token is revoked?

Full set: 285 questions
Answer options
A: The child tokens are revoked Correct answer
B: The child tokens are renewed
C: The child tokens are converted to parent tokens
D: The child tokens create their own child tokens to be used
Correct Answer:
A. The child tokens are revoked
Explanation

Hahicorp Vault's token system is hierarchical. When a token is used to create another token, a parent-child relationship is established. This hierarchy is crucial for security and lease management. By default, when a parent token is revoked, Vault automatically triggers a cascading revocation for all of its child tokens, and subsequently, all of their children recursively. This ensures that revoking a single high-privilege or user-specific token also invalidates all temporary or limited-scope credentials that were derived from it, effectively cleaning up the entire branch of the secret tree.

Why Incorrect

B. The child tokens are renewed Renewal is the process of extending a token's lifetime, which is the opposite of revocation.
C. The child tokens are converted to parent tokens This would create orphaned tokens and violate the hierarchical security model designed to manage and contain secret access.
D. The child tokens create their own child tokens to be used A revoked token and its children are invalidated immediately and cannot perform any further actions, including creating new tokens.

References

1. HashiCorp Vault Official Documentation, "Tokens": In the "Token Hierarchy and Revocation" section, the documentation explicitly states: "A token is a child of another token if it was created by that token... When a parent token is revoked, all of its child tokens (and their children, recursively) are revoked."

Source: HashiCorp, Vault Documentation, "Concepts > Tokens".

2. HashiCorp Learn, "Vault Tokens" Tutorial: This official tutorial reinforces the concept under the "Token Hierarchy" section. It explains that tokens form a tree-like structure and that "When a token is revoked, all of its children tokens and their leases are revoked as well."

Source: HashiCorp Learn, Vault - Get Started, "Tokens" tutorial.

Scroll to Top