kubernetes-external-secrets-cli
v0.0.5
Published
CLI for manipulating Kubernetes ExternalSecrets
Downloads
8
Readme
kubernetes-external-secrets-cli
CLI for converting Kubernetes Secrets to Kubernetes ExternalSecrets.
Install
npm i -g kubernetes-external-secrets-cli
Usage
Get the Secret
object you'd like to managed as an
ExternalSecret
. For example:
kubectl -n my-app get secret my-app -o json > secret.json
Decode secret data from your Secret
; print commands to load that
data into your secret store (e.g., AWS Secrets Manager); and create
an ExternalSecret
manifest:
mkdir data
kescli --input secret.json --ouput data