HCVA0-003 practice question 30 of 35
Which of the following best describes a token accessor?
Full set: 285 questionsA token accessor is a non-sensitive, unique identifier that acts as a reference to a corresponding Vault token. Its primary purpose is to enable token lifecycle management operations—such as lookup, renewal, and revocation—without exposing the actual secret token ID. Using the accessor for these tasks enhances security by allowing operators and systems to manage tokens without having permission to use them. Accessors are safe to log and store, as they cannot be used to authenticate or access secrets, unlike the token ID itself.
A. Policies attached to a token, not the accessor, define which clients or entities have access and what actions they can perform.
B. The Time-to-Live (TTL) is a property of the token that defines its validity period; the accessor is a separate identifier for managing the token.
C. This describes the function of the Vault token ID itself, which is the credential used by clients to authenticate and access secrets engines.
1. HashiCorp Vault Official Documentation, "Tokens - Concepts": Under the "Token Accessors" section, the documentation states, "The accessor is a value that acts as a reference to the token and can be used to look up a token's properties and to revoke a token... Using the accessor, you can revoke a token without being able to authenticate with it." This directly supports the definition in the correct answer.
Source: HashiCorp Developer Portal, Vault Documentation, Concepts: Tokens, Section: Token Accessors. (developer.hashicorp.com/vault/docs/concepts/tokens#token-accessors)
2. HashiCorp Vault Official Documentation, "Revoke a Token Using its Accessor (API)": This API documentation demonstrates the practical use of an accessor for a limited action (revocation). The endpoint auth/token/revoke-accessor explicitly uses the accessor to invalidate a token, reinforcing that the accessor is a reference for management actions.
Source: HashiCorp Developer Portal, Vault API Documentation, Auth Methods: Token, Endpoint: revoke-accessor. (developer.hashicorp.com/vault/api-docs/auth/token#revoke-a-token-using-its-accessor)
Keep practicing
Take the free HCVA0-003 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other HCVA0-003 practice questions
- Question 1Which two characters can be used when writing a policy to reflect a wildcard or path segm…
- Question 2You have multiple Vault clusters in your environment, one for test and one for production…
- Question 3Short-lived, dynamically generated secrets provide organizations with many benefits. Sele…
- Question 4When Vault is sealed, which are the only two operations available to a Vault administrato…
- Question 6What is the default method of authentication after first initializing Vault?
- Question 7Which two interfaces automatically assume the token for subsequent requests after success…
