Skip to content

Instantly share code, notes, and snippets.

@jahrlin
Last active November 28, 2017 11:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jahrlin/a099114e874827b403120b3ca37e707b to your computer and use it in GitHub Desktop.
Save jahrlin/a099114e874827b403120b3ca37e707b to your computer and use it in GitHub Desktop.
get vault dev mode unseal key via script with awk
journalctl -xeu vault | awk '$0 ~ /Unseal Key:/ { print "Vault Unseal Key: " $NF }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment