Sealed Secrets: seal and unseal
Runs in your browserTurn a Kubernetes Secret into a SealedSecret with the controller’s public certificate, like kubeseal. With the controller’s private key you can unseal one again. Nothing leaves your browser.
More options
Paste a SealedSecret and the controller key
Recovery only: you need the private key from the sealed-secrets-key backup. Values are opened with the scope from the annotations.
Secret in, SealedSecret out
Like kubeseal -o yaml. You need the controller’s certificate: kubeseal --fetch-cert > cert.pem
Start from an example
The example unseals a SealedSecret with the demo controller key. The Seal tab has a demo Secret and certificate.
How a SealedSecret is sealed
Each value is encrypted on its own with a fresh AES-256 key (GCM). That key is encrypted with the controller’s public RSA key (RSA-OAEP with SHA-256). Only the controller in the cluster has the private key.
| Scope | Annotation | Bound to | OAEP label |
|---|---|---|---|
| strict (default) | – | name and namespace | namespace/name |
| namespace-wide | sealedsecrets.bitnami.com/namespace-wide: "true" | namespace | namespace |
| cluster-wide | sealedsecrets.bitnami.com/cluster-wide: "true" | nothing | empty |
That label is why a SealedSecret can’t simply be renamed or moved to another namespace: the controller would use a different label and fail.
The same with kubeseal
kubeseal --fetch-cert --controller-namespace kube-system > cert.pem
kubectl create secret generic db-credentials -n demo --dry-run=client \ --from-literal=password=hunter2 -o yaml | kubeseal --cert cert.pem -o yaml > sealed.yaml
echo -n hunter2 | kubeseal --raw --cert cert.pem --namespace demo --name db-credentials
kubectl get secret -n kube-system -l sealedsecrets.bitnami.com/sealed-secrets-key -o yaml > keys.yaml
kubeseal --recovery-unseal --recovery-private-key keys.yaml < sealed.yaml
When the controller can’t unseal
Sealed with another controller’s certificate (another cluster, or before a reinstall without restoring the keys).
With strict scope, name and namespace are part of the encryption. Seal again for the new place, or use namespace-wide or cluster-wide.
The controller makes a new key every 30 days and keeps the old ones. A backup from before that date can’t open newer values.
Sealing a Secret exported from a cluster could leak plain values in this annotation. Like kubeseal, the tool removes it.
Tested against the original tools
Every format on this page was checked against values made by the real tool, on 3 December 2026:
- Values sealed by the Go function HybridEncrypt from sealed-secrets (unchanged copy) for all three scopes, unsealed here; values sealed here, unsealed by Go.
- SealedSecret manifests with data and stringData, annotations and the key backup as a List.
Other encrypted formats
Every format has its own page with the same tool. Paste anything into one of them: if it belongs elsewhere, the tool says so and takes it there.
Questions about Sealed Secrets
Can I seal a secret without kubeseal?
Yes: paste the Secret and the controller’s certificate on the Seal tab. The certificate is public, so this is safe even for production clusters.
Can I decrypt a SealedSecret?
Only with the controller’s private key, from the cluster or a backup. That is the point: the SealedSecret can live in git, the key stays in the cluster.
Which scope should I use?
Strict, unless the same SealedSecret must work under several names (namespace-wide) or in several namespaces (cluster-wide). Wider scopes let anyone with access to the namespace reuse the value elsewhere.
Is it safe to paste the controller key here?
Everything runs in your browser: nothing you paste is sent anywhere, not even to this site. The page’s Content-Security-Policy blocks connections to other sites; check the Network tab of your browser’s developer tools. The key opens every SealedSecret of the cluster: prefer kubeseal --recovery-unseal for production.