Javier162380 / secret-moving

Simple tool to move secrets between AWSSecretManager, K8sSecrets and .env files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

secret-moving

Simple tool to move secrets between AWSSecretManager, K8sSecrets and .env files

Usage.

./secret-moving -h
Usage:
  secret-moving [command]

Available Commands:
  awstoenv    Move secrets data from a AWSSecretRepository to an envfile
  awstok8s    Move data from a AWSSecretRepository to Kubernetes Secrets
  envtok8s    Move secrets data from an envfile to K8s secrets
  help        Help about any command
  k8stoaws    Move data from a Kubernetes to AWSSecretManager
  k8stoenv    Move secrets data from Kubernetes to an envfile

Flags:
  -h, --help                      help for secret-moving
      --kubeconfig string         KubeConfig file path to auth with Kubernetes (default "/$HOME/.kube/config")
      --namespace string          Kubernetes namespace where the secret is going to be created
      --profile string            AWS Profile for authenticate ssm request (default "default")
      --region string             AWS Region where the secret manager is located
      --secretrepository string   Target AWSSecretRepository to create in k8s

Use "secret-moving [command] --help" for more information about a command.

About

Simple tool to move secrets between AWSSecretManager, K8sSecrets and .env files


Languages

Language:Go 100.0%