mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 19:47:54 +00:00
Support reading Vault's address from Agent's config file (#6306)
* Support reading Vault's address from Agent's config file * use consts and switch * Add tls options to agent config vault block * Update command/agent/config/config.go Co-Authored-By: vishalnayak <vishalnayak@users.noreply.github.com> * remove fmt.Printfs
This commit is contained in:
@@ -66,6 +66,18 @@ const (
|
||||
// EnvVaultFormat is the output format
|
||||
EnvVaultFormat = `VAULT_FORMAT`
|
||||
|
||||
// flagNameAddress is the flag used in the base command to read in the
|
||||
// address of the Vault server.
|
||||
flagNameAddress = "address"
|
||||
// flagnameCACert is the flag used in the base command to read in the CA
|
||||
// cert.
|
||||
flagNameCACert = "ca-cert"
|
||||
// flagnameCAPath is the flag used in the base command to read in the CA
|
||||
// cert path.
|
||||
flagNameCAPath = "ca-path"
|
||||
// flagNameTLSSkipVerify is the flag used in the base command to read in
|
||||
// the option to ignore TLS certificate verification.
|
||||
flagNameTLSSkipVerify = "tls-skip-verify"
|
||||
// flagNameAuditNonHMACRequestKeys is the flag name used for auth/secrets enable
|
||||
flagNameAuditNonHMACRequestKeys = "audit-non-hmac-request-keys"
|
||||
// flagNameAuditNonHMACResponseKeys is the flag name used for auth/secrets enable
|
||||
|
||||
Reference in New Issue
Block a user