k8sec

Command line interface tool to manage Kubernetes secrets.

TLDR

List all secrets

>_ k8sec list
copy

List a specific secret as a base64-encoded string

>_ k8sec list [secret_name] --base64
copy

Set a secret's value

>_ k8sec set [secret_name] [key=value]
copy

Set a base64-encoded value

>_ k8sec set --base64 [secret_name] [key=encoded_value]
copy

Unset a secret

>_ k8sec unset [secret_name]
copy

Load secrets from a file

>_ k8sec load -f [path/to/file] [secret_name]
copy

Dump secrets to a file

>_ k8sec dump -f [path/to/file] [secret_name]
copy

Copied to clipboard
free 100$ digital ocean credit