HashiCorp Certified: Vault Associate (002) — Question 12
What environment variable overrides the CLI’s default Vault server address?
Answer options
- A. VAULT_ADDR
- B. VAULT_HTTP_ADDRESS
- C. VAULT_ADDRESS
- D. VAULT_HTTPS_ADDRESS
Correct answer: A
Explanation
The correct answer is A, VAULT_ADDR, as it is specifically designed to override the default server address used by the CLI. The other options do not serve this purpose: VAULT_HTTP_ADDRESS and VAULT_HTTPS_ADDRESS are not standard environment variables, and VAULT_ADDRESS does not exist in the context of overriding the default address.