VAULT-ASSOCIATE practice question 13 of 15
When looking at Vault token details, which key helps you find the paths the token is able to access?
Full set: 57 questionsVault's authorization model is governed by policies. A token is associated with one or more policies, which define its permissions. Each policy contains a set of rules that specify which paths the token can access and what operations (e.g., read, write, delete) it can perform on those paths. When you look up a token's details, the policies key lists all the policies attached to it. By examining these policies, you can determine the full scope of paths the token is able to access.
A. Meta: This key holds arbitrary user-defined key-value metadata associated with the token; it does not influence access control.
B. Path: This key indicates the authentication path where the token was created (e.g., auth/userpass/login/my-user), not the resource paths it is permitted to access.
D. Accessor: This is a unique identifier for the token that is safe to log. It is used for token management tasks like renewal or revocation, but not for defining permissions.
1. HashiCorp Vault Documentation - Tokens: "Every token has policies attached to them. These policies control what the token can and cannot do within Vault." (Reference: Concepts -> Tokens -> Token Policies section).
2. HashiCorp Vault Documentation - Policies: "Policies are the way to grant or forbid access to certain paths and operations in Vault. When a client attempts an operation, Vault checks all of the policies associated with its token." (Reference: Concepts -> Policies section).
3. HashiCorp Vault Documentation - vault token lookup Command: The example output for the vault token lookup command clearly shows the policies key as a list of attached policies (e.g., policies [default web]), while accessor, meta, and path serve different, distinct purposes. (Reference: Commands -> token lookup -> Example Output section).
Keep practicing
Take the free VAULT-ASSOCIATE practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other VAULT-ASSOCIATE practice questions
- Question 1To give a role the ability to display or output all of the end points under the /secrets/…
- Question 4Which of the following cannot define the maximum time-to-live (TTL) for a token?
- Question 6What can be used to limit the scope of a credential breach?
- Question 8What is the Vault CLI command to query information about the token the client is currentl…
- Question 10When unsealing Vault, each Shamir unseal key should be entered:
- Question 11You have a 2GB Base64 binary large object (blob) that needs to be encrypted. Which of the…
