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 Workflow Status 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

Note: 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 --reencrypt /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.4.4.tar.gz (7.2 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.4.4-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file kubeseal-auto-0.4.4.tar.gz.

File metadata

  • Download URL: kubeseal-auto-0.4.4.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.2 Linux/5.15.0-1017-azure

File hashes

Hashes for kubeseal-auto-0.4.4.tar.gz
Algorithm Hash digest
SHA256 f884e1b187b7f6b24ef132826e87965a268101d8b2b3ea3418ef4b65b262ccad
MD5 974f78200d36ea62c46fe43fa67eea52
BLAKE2b-256 2e16e16b5bb2c92af3ff1c2e4a361b199cde7f88cd6c91bff9d4b8df37b8e2c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kubeseal_auto-0.4.4-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.2 Linux/5.15.0-1017-azure

File hashes

Hashes for kubeseal_auto-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 80a7bc6e47d17b872645123705af6c3c6fc66fc576dbb990ccdc1c1808542e09
MD5 fa79e04053745eb6a785ed491d03eb7e
BLAKE2b-256 439de386158edb08cd76fef73b7dd23ba97d63a6482980d60037e23dafb6418d

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