Skip to content

copartit/vault-plugin-kv-rotate

Repository files navigation

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:

About

A Vault Plugin that rotates secrets in KV

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages