When configuring a Vault server to use a specific Auth Method, where should the configuration be applied to ensure it persists across a cluster restart?
Trap 1: Using environment variables exclusively.
Environment variables are not for persistent auth configuration.
Trap 2: By editing the core binary settings.
You should never edit the binary.
Trap 3: In the HCL configuration file
Auth methods are configured via API, not the static HCL config.
- A
Via the 'vault auth enable' command.
Configuration via CLI/API stores the state in the backend storage.
- B
Using environment variables exclusively.
Why wrong: Environment variables are not for persistent auth configuration.
- C
By editing the core binary settings.
Why wrong: You should never edit the binary.
- D
In the HCL configuration file
Why wrong: Auth methods are configured via API, not the static HCL config.