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 last commit (branch) 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.5.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

kubeseal_auto-0.5.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kubeseal_auto-0.5.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.2 Linux/6.8.0-1014-azure

File hashes

Hashes for kubeseal_auto-0.5.0.tar.gz
Algorithm Hash digest
SHA256 69acfe0b6288cf35543dd84316ba97cd55b659e0817f0c53fb8be5e59f1825fd
MD5 2bf207d295e5e3289dc8289606cc1504
BLAKE2b-256 c35ff778786cf882d6153cfa6bdf4840f73b8d5459b199e3a86dc2bfb062459c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kubeseal_auto-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.2 Linux/6.8.0-1014-azure

File hashes

Hashes for kubeseal_auto-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aed4ddc34a88a03c8093c716aecf316a1a1301fc6a70930a8f8252330041464e
MD5 f1c35fbcacbcf098fd573d47fb5ecba7
BLAKE2b-256 ce27409492235f0f830b4a3db73bbc6823a44ca829234c585da1906fa9660300

See more details on using hashes here.

Supported by

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