Vault Architecture Fundamentals1 / 5
Which environment variable tells the Vault CLI which Vault server address to communicate with?
CorrectIncorrect
Alex
VAULT_ADDR is the environment variable the Vault CLI reads to determine the server's API address (e.g., https://vault.example.com:8200). If unset, the CLI defaults to https://127.0.0.1:8200. You can also pass -address on the command line. VAULT_URL, VAULT_HOST, and VAULT_ENDPOINT are not recognized by the Vault CLI and will be silently ignored, causing fallback to the localhost default. This is one of the first variables set in any Vault deployment. Ref: developer.hashicorp.com/vault/docs/commands; /vault/tutorials/get-started/learn-cli
Sourcedeveloper.hashicorp.com
Follow-up answers are available in the app. Create a free account — no credit card required.
Question 1 of 5
Create a free account