HashiCorpHashiCorp
VAULT-ASSOCIATE-002 · Question #48
VAULT-ASSOCIATE-002 Question #48: Real Exam Question with Answer & Explanation
The correct answer is A: client_token and policies. Upon successful authentication, Vault returns a client token to the user, along with the policies that are associated with that token.
Submitted by ravi_2018· Apr 18, 2026Understand Vault Concepts
Question
A user successfully logs into Vault with the following cURL command: curl --request POST --data @payload.json The response will include what information?
Options
- Aclient_token and policies
- Baccess_key and policies
- Caccess_key and secrets available
- Dclient_token and secrets available
Explanation
Upon successful authentication, Vault returns a client token to the user, along with the policies that are associated with that token.
Common mistakes.
- B. Vault issues a
client_tokenupon login, not anaccess_key, and policies are returned, not secrets directly. - C. Vault issues a
client_token, not anaccess_key, and the login response does not include secrets themselves, only the policies governing access to them. - D. The response includes
client_tokenandpolicies, not the actualsecrets available, as access to secrets requires further requests using the token.
Concept tested. Vault authentication response structure
Reference. https://developer.hashicorp.com/vault/docs/concepts/auth#authentication-response
Topics
#Vault Authentication#API Response#Client Token#Policies
Community Discussion
No community discussion yet for this question.