LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

kubeseal

encrypts Kubernetes secrets for safe storage

TLDR

Seal secret
$ kubeseal < [secret.yaml] > [sealed-secret.yaml]
copy
Seal with controller name
$ kubeseal --controller-name=[sealed-secrets] < [secret.yaml]
copy
Seal specific namespace
$ kubeseal --namespace=[namespace] < [secret.yaml]
copy
Fetch certificate
$ kubeseal --fetch-cert > [cert.pem]
copy
Seal from literal
$ kubectl create secret generic [name] --dry-run=client -o yaml | kubeseal
copy

SYNOPSIS

kubeseal [options]

DESCRIPTION

kubeseal is a client-side tool for encrypting Kubernetes Secret resources into SealedSecret objects that are safe to store in version control. It uses asymmetric encryption with a public key fetched from the Sealed Secrets controller running in the cluster, ensuring that only that specific controller can decrypt the data back into a usable Secret.The tool reads a standard Kubernetes Secret from stdin or a file, encrypts it, and outputs a SealedSecret custom resource in YAML or JSON format. This enables GitOps workflows where all cluster configuration, including secrets, can be committed to a Git repository without exposing sensitive values. Each SealedSecret is scoped to a specific namespace and cluster by default, preventing re-use of encrypted data across environments.

PARAMETERS

--controller-name NAME

Sealed Secrets controller name.
--controller-namespace NS
Controller namespace.
--namespace NS
Target namespace.
--fetch-cert
Fetch public certificate.
--format FMT
Output format (yaml, json).
--help
Display help information.

INSTALL

sudo pacman -S kubeseal
copy
sudo zypper install kubeseal
copy
brew install kubeseal
copy
nix profile install nixpkgs#kubeseal
copy

CAVEATS

Requires Sealed Secrets controller. Cluster-specific encryption. Backup keys carefully.

HISTORY

kubeseal is part of Sealed Secrets by Bitnami for secure secret management in GitOps workflows.

SEE ALSO

kubectl(1), sops(1), vault(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid