y-yu / secret-plan

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

secret-plan

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).
  • --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

About

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

License:MIT License


Languages

Language:Go 98.6%Language:Makefile 1.4%