Last active
May 12, 2018 02:43
-
-
Save vishalnayak/ac880d80e9a608ed562264ff86310d10 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -aex | |
vault auth enable userpass | |
vault write auth/userpass/users/vishal password=nayak policies=default | |
vault read auth/userpass/users/vishal | |
vault login -method=userpass username=vishal password=nayak |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment