open-vault/website/source/docs/commands/auth/help.html.md
RJ Spiker fca7cb3794 website: update sidebar_title in front matter to use <code> (#5636)
* website: replace deprecated <tt> with <code> in front matter sidebar_title

* website: wrap front matter sidebar_title in <code> for commands pages
2018-10-29 15:58:37 -04:00

1 KiB

layout page_title sidebar_title sidebar_current description
docs auth help - Command <code>help</code> docs-commands-auth-help The "auth help" command prints usage and help for an auth method.

auth help

The auth help command prints usage and help for an auth method.

  • If given a TYPE, this command prints the default help for the auth method of that type.

  • If given a PATH, this command prints the help output for the auth method enabled at that path. This path must already exist.

Each auth method produces its own help output.

Examples

Get usage instructions for the userpass auth method:

$ vault auth help userpass
Usage: vault login -method=userpass [CONFIG K=V...]

  The userpass auth method allows users to authenticate using Vault's
  internal user database.

# ...

Print usage for the auth method enabled at my-method/

$ vault auth help my-method/
# ...

Usage

There are no flags beyond the standard set of flags included on all commands.