HashiCorpHashiCorp
VAULT-ASSOCIATE-002 · Question #14
VAULT-ASSOCIATE-002 Question #14: Real Exam Question with Answer & Explanation
The correct answer is A: The X-Vault-Token HTTP Header. Authenticated requests to the Vault HTTP API require including the X-Vault-Token HTTP header, which carries the client's authentication token.
Submitted by chen.hong· Apr 18, 2026Operate Vault
Question
To make an authenticated request via the Vault HTTP API, which header would you use?
Options
- AThe X-Vault-Token HTTP Header
- BThe HTTP Header
- CThe Content-Type HTTP Header
- DThe X-Vault-Namespace HTTP Header
Explanation
Authenticated requests to the Vault HTTP API require including the X-Vault-Token HTTP header, which carries the client's authentication token.
Common mistakes.
- B. The 'HTTP Header' is too generic and not a specific header name for authentication.
- C. The
Content-TypeHTTP Header specifies the media type of the resource being sent (e.g., application/json) but is not used for authentication. - D. The
X-Vault-NamespaceHTTP Header is used to specify the namespace for the request in Vault Enterprise, not for authentication.
Concept tested. Vault HTTP API authentication, X-Vault-Token
Reference. https://developer.hashicorp.com/vault/api-docs#authentication
Topics
#Vault API#Authentication#HTTP Headers#Tokens
Community Discussion
No community discussion yet for this question.