kubeseal

Kubernetes controller for encrypting secrets with asymmetric cryptography

brewmacoslinux
Try with needOr install directly
Source

About

Kubernetes controller and tool for one-way encrypted Secrets

Commands

kubeseal

Examples

Encrypt a Kubernetes secret file using the sealing key$ kubeseal -f secret.yaml -w sealed-secret.yaml
Retrieve and display the public sealing key from the cluster$ kubeseal --fetch-cert > public-key.crt
Create and encrypt a secret from literal values in one command$ kubectl create secret generic mysecret --from-literal=password=mypass --dry-run=client -o yaml | kubeseal -o yaml > sealed-secret.yaml