MCPcopy
hub / github.com/hashicorp/vault / Help

Method Help

command/server.go:155–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153}
154
155func (c *ServerCommand) Help() string {
156 helpText := `
157Usage: vault server [options]
158
159 This command starts a Vault server that responds to API requests. By default,
160 Vault will start in a "sealed" state. The Vault cluster must be initialized
161 before use, usually by the "vault operator init" command. Each Vault server must
162 also be unsealed using the "vault operator unseal" command or the API before the
163 server can respond to requests.
164
165 Start a server with a configuration file:
166
167 $ vault server -config=/etc/vault/config.hcl
168
169 Run in "dev" mode:
170
171 $ vault server -dev -dev-root-token-id="root"
172
173 For a full list of examples, please see the documentation.
174
175` + c.Flags().Help()
176 return strings.TrimSpace(helpText)
177}
178
179func (c *ServerCommand) Flags() *FlagSets {
180 set := c.flagSet(FlagSetHTTP)

Callers

nothing calls this directly

Calls 2

FlagsMethod · 0.95
HelpMethod · 0.65

Tested by

no test coverage detected