Kubeseal
$ kubeseal Official Low RiskBitnami's kubeseal encrypts standard Kubernetes Secret manifests locally using the cluster controller's public key (or an offline --cert PEM file), producing safe-to-commit SealedSecret manifests with --format json (-o json) or YAML.
brew install kubeseal Plaintext Kubernetes secrets must be encrypted locally on disk via kubeseal—never send unencrypted secret payloads through an MCP channel.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Deterministic non-interactive CLI supporting stdin/stdout or --secret-file/--sealed-secret-file and --format json (-o json).
- Supports
--format json(-o json) and--certoffline mode - Clean stdin/stdout pipe compatibility (
kubectl create secret ... --dry-run=client -o json | kubeseal)
Asymmetric client-side encryption ensures neither Git nor the agent needs cluster decrypt keys; only --recovery-unseal requires private key access.
- Client-side public-key encryption safe for GitOps repositories
Single static Go binary available via Homebrew and GitHub releases across macOS, Linux, and Windows.
- Zero-dependency Go binary via
brew install kubeseal
Standardizes safe Kubernetes secret commits in Argo CD and Flux GitOps workflows.
- Seamless pipeline with
kubectl create secret --dry-run=client -o json
Official Sealed Secrets CLI (bitnami-labs/sealed-secrets) under Apache-2.0.
- Official Bitnami repository under Apache-2.0
Clear documentation at sealed-secrets.netlify.app and concise --help.
- Official Sealed Secrets docs and README
Security, Auth & Guardrails
Offline sealing with --cert pub.pem requires no auth; fetching the controller public key uses standard kubeconfig (~/.kube/config).
Apache-2.0 open-source CLI; free to use.
# Kubeseal Agent Rules - Prefer offline sealing with `--cert <pub-cert.pem>` and `--format json` / `--format yaml`. - Ensure plaintext `secret.yaml` inputs are deleted or gitignored; never commit unsealed Secrets. - Match `--scope` (`strict`, `namespace-wide`, `cluster-wide`) to the target Secret metadata.
Agent-Ready Command Recipes
Safe Read-Only Queries
kubeseal --fetch-cert > pub-cert.pem
Downloads only the public RSA certificate from the Sealed Secrets controller for offline sealing.
Controlled Writes & Previews
SealedSecret JSON file offline kubeseal --cert pub-cert.pem --format json --secret-file secret.yaml --sealed-secret-file sealed-secret.json
Encrypts plaintext secret values locally without touching the Kubernetes cluster.
Strengths for Agents
- + Supports
--format jsonand offline--certencryption with zero cluster mutation. - + Composes cleanly with
kubectl create secret ... --dry-run=client -o json | kubeseal. - + Single static Go binary.
Caveats & Pitfalls
- ! If
strictscope (default) is used, renaming the Secret or changing its namespace invalidates the encrypted payload. - ! Cluster-side
sealed-secrets-controllermust be running to decryptSealedSecretresources.