Created
November 28, 2017 11:43
-
-
Save jahrlin/544e4a2be4ec04978c62293616442617 to your computer and use it in GitHub Desktop.
get vault dev mode root token via script with awk
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
journalctl -xeu vault | awk '$0 ~ /Root Token:/ { print "Vault Root Token: " $NF }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment