Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 977 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 977 Bytes

vault-plugin-kv-rotate

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

Prerequisites

  1. Target API that regenerates secrets.
  2. Golang 1.22+

Install

  1. Run go mod init.

  2. 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
  3. You can find the binary in vault/plugins/.

    $ ls vault/plugins/
  4. 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

Additional references: