Fetch the public cert
Download the sealing certificate to seal secrets without cluster access
kubeseal --fetch-cert --controller-name=sealed-secrets > pub-cert.pem
- tool
- sealed-secrets11 commands
- tags
- secrets
More sealed-secrets commands
-
kubeseal --cert pub-cert.pem -o yaml < secret.yaml > sealed.yamlSeal without cluster access, using a saved certificate
-
kubectl get sealedsecret -AShow all SealedSecrets and their sync status
-
kubeseal --format=yaml < secret.yaml > sealed-secret.yamlEncrypt a Kubernetes Secret YAML into a SealedSecret
-
kubectl create secret generic mysecret --dry-run=client --from-literal=token=abc123 -o yaml | kubeseal --scope cluster-wide -o yamlCreate a secret and seal it with cluster-wide scope, so it can be unsealed in any namespace
-
kubeseal --fetch-cert --controller-name=sealed-secrets --controller-namespace=kube-system > pub.pemSave the sealing certificate to encrypt secrets offline