open-vault/website/content/docs/commands/auth/help.mdx
Ashlee M Boyer f3df55ad58
docs: Migrate link formats (#18696)
* Adding check-legacy-links-format workflow

* Adding test-link-rewrites workflow

* Updating docs-content-check-legacy-links-format hash

* Migrating links to new format

Co-authored-by: Kendall Strautman <kendallstrautman@gmail.com>
2023-01-25 16:12:15 -08:00

44 lines
980 B
Plaintext

---
layout: docs
page_title: auth help - Command
description: 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:
```shell-session
$ 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/
```shell-session
$ vault auth help my-method/
# ...
```
## Usage
There are no flags beyond the [standard set of flags](/vault/docs/commands)
included on all commands.