VAULT-ASSOCIATE-002 · Question #64
What is true of Vault tokens? Choose TWO correct answers.
The correct answer is A. Vault tokens are generated by every authentication method login E. Vault tokens are the core method for authentication in Vault. Vault tokens are generated by every successful authentication method login and serve as the core method for authentication and authorization within Vault.
Question
Options
- AVault tokens are generated by every authentication method login
- BVault tokens are also known as unseal keys
- CVault tokens are required for every Vault call
- DVault token IDs always begin with "s." such as s.E7rOurS2n7m2Dt5409jWxR87
- EVault tokens are the core method for authentication in Vault
How the community answered
(61 responses)- A87% (53)
- B5% (3)
- C7% (4)
- D2% (1)
Why each option
Vault tokens are generated by every successful authentication method login and serve as the core method for authentication and authorization within Vault.
Upon successful authentication using any enabled method (e.g., AppRole, userpass, LDAP), Vault issues a token to the client, representing their authenticated identity.
Vault tokens are for authentication, while unseal keys are used to decrypt the master key to bring a sealed Vault server online; they are distinct concepts.
While tokens are generally required for most authenticated Vault API calls, some endpoints (like `sys/health` or `sys/seal` in certain contexts) can be accessed unauthenticated, making 'every Vault call' an overstatement.
Standard human-readable Vault token IDs begin with `h.`, not `s.`, which is typically associated with service tokens or specific internal Vault components.
Vault tokens are fundamental to Vault's security model, as they are presented with every API request to authenticate the client and authorize access based on associated policies.
Concept tested: Vault token characteristics and usage
Source: https://developer.hashicorp.com/vault/docs/concepts/tokens
Topics
Community Discussion
No community discussion yet for this question.