Skip to content

aleroxac/secretctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 

Repository files navigation

secretctl

A CLI to make secret handling easier

Providers

  • GCP - Google Cloud Secret Manager
  • AWS - AWS Secrets Manager

Secret Data Types

  • dotenv
  • json
  • yaml

Features

  • list
  • search
  • create
  • get
  • update
  • patch
  • disable
  • enable
  • delete
  • diff
  • find
  • compare
  • delete-fields

How to install

secretctl in action

### create
aleroxac@home ~ $ secretctl create app-dev <(echo "FOO=bar")
2024/10/07 12:11:03 [INFO] [create_secret] - Creating secret: app-dev
2024/10/07 12:11:10 [INFO] [create_secret] - Secret created

### search
aleroxac@home ~ $ secretctl search dev
app-dev

### list
aleroxac@home ~ $ secretctl list
NAME     CREATED              REPLICATION_POLICY  LOCATIONS
app-dev  2024-10-07T15:11:06  automatic           -

### update
aleroxac@home ~ $ secretctl update app-dev <(echo "FOO=123")
2024/10/07 12:11:52 [INFO] [update_secret] - Updating the secret: app-dev
2024/10/07 12:11:56 [INFO] [update_secret] - Secret updated

## get
aleroxac@home ~ $ secretctl get app-dev
FOO=123

### delete
aleroxac@home ~ $ secretctl delete app-dev
2024/10/07 12:12:16 [INFO] [delete_secret] - Deleting secret: app-dev
2024/10/07 12:12:19 [INFO] [delete_secret] - Secret deleted

About

A CLI to make secret handling easier

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages