HashiCorp Certified: Vault Associate (002) — Question 35
To make an authenticated request via the Vault HTTP API, which header would you use?
Answer options
- A. The X-Vault-Token HTTP Header
- B. The X-Vault-Request HTTP Header
- C. The Content-Type HTTP Header
- D. The X-Vault-Namespace HTTP Header
Correct answer: A
Explanation
The correct answer is A, as the X-Vault-Token HTTP Header is specifically used for authentication when making requests to the Vault API. Options B, C, and D do not serve the purpose of authentication; they are used for different functionalities within the API and do not provide the necessary token for access.