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.0.tar.gz (20.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.0-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kubeseal_auto-0.7.0.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.1 Linux/6.11.0-1018-azure

File hashes

Hashes for kubeseal_auto-0.7.0.tar.gz
Algorithm Hash digest
SHA256 7167475781a8d8cd9170def4fc7abf48304e524f6ae6bb26e6fd3e155a90d12f
MD5 6fe4d3b61e704cae7e4c7454fee2895b
BLAKE2b-256 b8a1582424d568cec3195806ca0682a32b4aa26c76d2333f0d90859ecfe69380

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kubeseal_auto-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.1 Linux/6.11.0-1018-azure

File hashes

Hashes for kubeseal_auto-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 849c28d2b93dc65e8608b49e937774b85074b00e4135db5728c1bacc5c54417a
MD5 ea52ee41babc5cbb27a24677d275c037
BLAKE2b-256 b7d8a03642ebcc07ddc8812eb3db490435985c02697ad9d5a23ca27b3585e617

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