mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Add TLS server name to Vault stanza of Agent configuration (#7519)
This commit is contained in:
committed by
Jeff Mitchell
parent
701a8db0d4
commit
281b84184e
@@ -259,6 +259,12 @@ func (c *AgentCommand) Run(args []string) int {
|
||||
Default: false,
|
||||
EnvVar: api.EnvVaultSkipVerify,
|
||||
})
|
||||
c.setStringFlag(f, config.Vault.TLSServerName, &StringVar{
|
||||
Name: flagTLSServerName,
|
||||
Target: &c.flagTLSServerName,
|
||||
Default: "",
|
||||
EnvVar: api.EnvVaultTLSServerName,
|
||||
})
|
||||
|
||||
infoKeys := make([]string, 0, 10)
|
||||
info := make(map[string]string)
|
||||
|
||||
Reference in New Issue
Block a user