Skip to main content

An interactive wrapper for kubeseal binary

Project description

kubeseal-auto

kubeseal-auto is an interactive wrapper for kubeseal binary used to encrypt secrets for sealed-secrets.

GitHub Actions codecov PyPI - Python Version PyPI license

Showcase

Installation

The recommended way to install this script is pipx:

pipx install kubeseal-auto

Usage

By default, the script will check the version of sealed-secret controller and download the corresponding kubeseal binary to ~/bin directory.

To run the script in fully interactive mode:

kubeseal-auto

Additionally, a "detached" mode is supported:

# Download sealed-secrets certificate for local signing
kubeseal-auto --fetch
# Generate SealedSecret with local certificate
kubeseal-auto --cert <kubectl-context>-kubeseal-cert.crt

[!IMPORTANT] In the detached mode kubeseal-auto will not download the kubeseal binary and will look for it in the system $PATH.

To select kubeconfig context:

kubeseal-auto --select

To append or change key values in the existing secret:

kubeseal-auto --edit secret-name.yaml

To reencrypt all secrets in a directory (not working in a detached mode):

kubeseal-auto --re-encrypt /path/to/directory

To back up the encryption and decryption keys (not working in a detached mode):

kubeseal-auto --backup

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kubeseal_auto-0.7.1.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kubeseal_auto-0.7.1-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

Details for the file kubeseal_auto-0.7.1.tar.gz.

File metadata

  • Download URL: kubeseal_auto-0.7.1.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for kubeseal_auto-0.7.1.tar.gz
Algorithm Hash digest
SHA256 dcf77e60362d0ffa0840e6a0c6c77fb2b29189d0657fd982778d9dd703d875c9
MD5 4753f7213acba766fc16e54eab43c6bd
BLAKE2b-256 844f18c7bb1d451dcb9a6a2c6956e07e1df836c5a64378e29a2ad43e4fe11937

See more details on using hashes here.

File details

Details for the file kubeseal_auto-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: kubeseal_auto-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 28.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for kubeseal_auto-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2ced576bcbda85c1d8442c2b57c3ae5355e9437145f5dcc7cefb75f36d8b997a
MD5 0302700a193518c0419339abc6013340
BLAKE2b-256 eb701025d575526446a814eec66c4a82c486da40a38d9e10f2013c9843d395f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page