ExamGecko
Question list
Search
Search

Question 22 - Vault Associate 002 discussion

Report
Export

What environment variable overrides the CLI's default Vault server address?

A.
VAULT_ADDR
Answers
A.
VAULT_ADDR
B.
VAULT_HTTP_ADORESS
Answers
B.
VAULT_HTTP_ADORESS
C.
VAULT_ADDRESS
Answers
C.
VAULT_ADDRESS
D.
VAULT _HTTPS_ ADDRESS
Answers
D.
VAULT _HTTPS_ ADDRESS
Suggested answer: B

Explanation:

The environment variable VAULT_ADDR overrides the CLI's default Vault server address. The VAULT_ADDR environment variable specifies the address of the Vault server that is used to communicate with Vault from other applications or processes. By setting this variable, you can avoid hard-coding the Vault server address in your code or configuration files, and you can also use different addresses for different environments or scenarios. For example, you can use a local development server for testing purposes, and a production server for deploying your application.Reference:Commands (CLI) | Vault | HashiCorp Developer,Vault Agent - secrets as environment variables | Vault | HashiCorp Developer

asked 18/09/2024
Achref hellal
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first