Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update userpass.mdx #20121

Merged
merged 2 commits into from
Apr 17, 2023
Merged

Update userpass.mdx #20121

merged 2 commits into from
Apr 17, 2023

Conversation

niranjanshr13
Copy link
Contributor

In the documentation,

vault auth enable userpass
vault write auth/userpass/users/mitchellh \
    password=foo \
    policies=admins

is used, which works but, there should a additional information about the custom path on the doc, or changes on the write command to clarify what is happening.

Propose addition:

Custom Path

vault auth enable userpass -path=custom_path
vault write auth/custom_path/users/mitchellh \
    password=foo \
    policies=admins

vault write auth/userpass/users/mitchellh password=foo policies=admins
in the path "userpass" is actually a path, if custom path is defined, custom path need to used, instead of userpass.
@hashicorp-cla
Copy link

hashicorp-cla commented Apr 12, 2023

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants