This is a quick example of how to retrieve your first secret from HashiCorp Vault, using HashiCorp's official Go client library.
Run the script ./run.sh
to set up a Vault dev server and run the example code.
You just wrote and read your first Vault secret!
For a more realistic example of a runnable web app connecting to Vault using the AppRole authentication method, check out the sample app.