diff --git a/command/token_revoke.go b/command/token_revoke.go index 38eca3560e..7833b3a9e0 100644 --- a/command/token_revoke.go +++ b/command/token_revoke.go @@ -65,7 +65,7 @@ func (c *TokenRevokeCommand) Run(args []string) int { return 2 } - c.Ui.Output("Revocation successful.") + c.Ui.Output("Token revoked if it existed") return 0 } diff --git a/website/source/intro/getting-started/authentication.html.md b/website/source/intro/getting-started/authentication.html.md index 33dce1b4f4..f01fb2e830 100644 --- a/website/source/intro/getting-started/authentication.html.md +++ b/website/source/intro/getting-started/authentication.html.md @@ -58,7 +58,7 @@ After a token is created, you can revoke it with `vault token-revoke`: ``` $ vault token-revoke c2c2fbd5-2893-b385-6fa5-30050439f698 -Revocation successful. +Token revoked if it existed ``` In a previous section, we use the `vault revoke` command. This command