update docs and help text to include 'operator' (#4712)

This commit is contained in:
Kevin Hicks
2018-06-06 23:11:21 -05:00
committed by Jim Kalafut
parent 058b4e0a5f
commit 284600fbef
11 changed files with 36 additions and 36 deletions

View File

@@ -52,7 +52,7 @@ func (c *OperatorRekeyCommand) Synopsis() string {
func (c *OperatorRekeyCommand) Help() string {
helpText := `
Usage: vault rekey [options] [KEY]
Usage: vault operator rekey [options] [KEY]
Generates a new set of unseal keys. This can optionally change the total
number of key shares or the required threshold of those key shares to
@@ -491,7 +491,7 @@ func (c *OperatorRekeyCommand) provide(client *api.Client, key string) int {
if !started {
c.UI.Error(wrapAtLength(
"No rekey is in progress. Start a rekey process by running " +
"\"vault rekey -init\"."))
"\"vault operator rekey -init\"."))
return 1
}
@@ -758,8 +758,8 @@ func (c *OperatorRekeyCommand) printUnsealKeys(client *api.Client, status *api.R
c.UI.Output(wrapAtLength(fmt.Sprintf(
"The encrypted unseal keys are backed up to \"core/unseal-keys-backup\"" +
"in the storage backend. Remove these keys at any time using " +
"\"vault rekey -delete-backup\". Vault does not automatically remove " +
"these keys.",
"\"vault operator rekey -delete-backup\". Vault does not automatically " +
"remove these keys.",
)))
}