This secrets engine rotates KV secrets periodically using configured endpoints.
This was initially copied from https://github.com/hashicorp-education/learn-vault-plugin-secrets-hashicups
TODO: update the rest of this README
- Target API that regenerates secrets.
- Golang 1.22+
-
Run
go mod init
. -
Build the secrets engine into a plugin using Go.
$ go build -o vault/plugins/vault-plugin-secrets-hashicups cmd/vault-plugin-secrets-hashicups/main.go
-
You can find the binary in
vault/plugins/
.$ ls vault/plugins/
-
Run a Vault server in
dev
mode to register and try out the plugin.$ vault server -dev -dev-root-token-id=root -dev-plugin-dir=./vault/plugins