Skip to content

Instantly share code, notes, and snippets.

@AndreiD
Last active February 14, 2020 10:50
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 AndreiD/6e9850ede15457b71af9b1dc347e0bfa to your computer and use it in GitHub Desktop.
Save AndreiD/6e9850ede15457b71af9b1dc347e0bfa to your computer and use it in GitHub Desktop.
hashicorp_vault_tutorial
curl --header "X-Vault-Token: $VAULT_ROOT_TOKEN" \
--request POST \
--data '{"plaintext": "Sm9uLFNub3csNDExMSAxMTExIDExMTEgMTExMSxyZXN0YXVyYW50LCwxODkyMDMwOTAzCg=="}' \
http://127.0.0.1:8200/v1/transit/encrypt/transactions | jq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment