No description
  • Go 69%
  • Shell 24.3%
  • Dockerfile 4.8%
  • HCL 1.9%
Find a file
oss-core-libraries-dashboard[bot] bf91927607
[COMPLIANCE] Update Copyright and License Headers (Batch 1 of 1) (#71)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2026-04-02 08:15:38 +05:30
.github Add PR template (#23) 2022-01-03 14:16:38 -08:00
quick-start [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 1) (#71) 2026-04-02 08:15:38 +05:30
sample-app [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 1) (#71) 2026-04-02 08:15:38 +05:30
.gitignore First implementation of hello-vault-go 2021-12-13 15:42:25 -08:00
CODEOWNERS First implementation of hello-vault-go 2021-12-13 15:42:25 -08:00
LICENSE [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 1) (#71) 2026-04-02 08:15:38 +05:30
README.md Clarify not to run these samples in production (#59) 2024-09-05 10:32:14 -07:00

hello-vault-go

Runnable examples in Go of how to integrate an application with HashiCorp Vault.

All examples here run Vault in -dev mode which is insecure and should not be run in production, but these examples can be a good starting point to learn from.

Quick Start

This is a simple example of reading and writing your first secret!

Sample Application

Here you will find a more realistic example that demonstrates many important concepts, including authentication, dynamic secrets, and lease renewal logic.

Examples in other languages