mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-03 03:58:01 +00:00
Address review feedback by @jefferai
This commit is contained in:
@@ -305,27 +305,25 @@ Init Options:
|
|||||||
|
|
||||||
-auto If set, performs service discovery using the underlying
|
-auto If set, performs service discovery using the underlying
|
||||||
Consul storage backend. When one or more Vault servers
|
Consul storage backend. When one or more Vault servers
|
||||||
are running on Consul storage backend (none else),
|
are using Consul for data storage, setting this flag
|
||||||
setting this flag will create a Consul client and
|
will create a Consul client and discover nodes using
|
||||||
discovrs the nodes using the service name under which
|
the service name under which Vault nodes are registered
|
||||||
Vault nodes are registered with Consul. Service name
|
with Consul. The service name can be changed using
|
||||||
should be supplied using 'consul-service' flag. This
|
'consul-service' flag. This option works well when each
|
||||||
option works well when each Vault cluster is registered
|
Vault cluster is registered under a unique service name.
|
||||||
under a unique service name. Ensure that environment
|
Ensure that environment variables required to communicate
|
||||||
variables required to communicate with Consul, like
|
with Consul, like (CONSUL_HTTP_ADDR, CONSUL_HTTP_TOKEN,
|
||||||
(CONSUL_HTTP_ADDR, CONSUL_HTTP_TOKEN, CONSUL_HTTP_SSL,
|
CONSUL_HTTP_SSL, et al) are properly set. If only one
|
||||||
et al) are properly set. If, only one Vault node is
|
Vault node is discovered, then an initialization attempt
|
||||||
discovered, then an initialization attempt will be made.
|
will be made. If more than one Vault node is discovered,
|
||||||
If more than one Vault nodes are discovered, they will
|
they will be output.
|
||||||
be listed on the output, requiring another execution of
|
|
||||||
this command with updated VAULT_ADDR environment variable.
|
|
||||||
|
|
||||||
-consul-service Service name under which the all nodes of Vault are
|
-consul-service Service name under which all the nodes of a Vault cluster
|
||||||
registered with Consul. When Vault is using Consul
|
are registered with Consul. When Vault uses Consul as its
|
||||||
as its storage backend, by default, it will auto register
|
storage backend, by default, it will register as a service
|
||||||
itself with Consul under the default name of "vault".
|
with Consul by the name "vault". This name can be modified
|
||||||
This name can be modified in Vault's configuration file,
|
in Vault's configuration file, using the "service" option
|
||||||
using the "service" option under Consul backend.
|
for the Consul backend.
|
||||||
`
|
`
|
||||||
return strings.TrimSpace(helpText)
|
return strings.TrimSpace(helpText)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user