Skip to content

For secret value diff and save tool.(e.g aws secretsmanager)

License

Notifications You must be signed in to change notification settings

yutachaos/secret-plan

Repository files navigation

secret-plan

CI

For secret value diff and save tool.(e.g aws secretsmanager)

Usage.

  • --secret-name
    • Secret's name
  • --secret-value
    • Value to be registered in Secret
  • --version-id
    • Specify the version-id to be acquired (optional).
  • --version-stage
    • Whether to specify version-stage(AWS only)
  • --dry-run
    • If your want to use diff only.
  • --is-file
    • When you specify a string or a file, or enable this flag, the file is recognized as a file path and read.

Demo.

demo

Requirement (Current AWS support only)

  • The configuration from environment variables and requires an AWS authentication key

Run

  • go run ./cmd/secret-plan/main.go --secret-name test/diff --secret-value "update secret"

Build

  • make build

test

  • make test

Installation

  • brew install yutachaos/secret-plan/secret-plan

About

For secret value diff and save tool.(e.g aws secretsmanager)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published