HashiCorp Certified: Vault Associate (002) — Question 92
A user successfully logs into Vault with the following cURL command: curl --request POST --data @payload.json http://127.0.0.1:8200/v1/auth/ldap/login/mitchellh
The response will include what information?
Answer options
- A. client_token and policies
- B. access_key and policies
- C. access_key and secrets available
- D. client_token and secrets available
Correct answer: A
Explanation
The correct answer is A because when a user logs into Vault using the LDAP method, the response typically includes a client_token and the associated policies for that user. Options B, C, and D are incorrect as they mention access_key, which is not part of the response for this particular authentication method.