SealedSecret Manager
Project description
sealedsecret: A tool to manage SealedSecrets
Installation
pip install sealedsecretmgr
Usage
To list existing SealedSecrets with keys in your namespace:
$ sealedsecret list
my-super-secret
DATABASE_PASSWORD
You can pass an optional --namespace or -n argument before any command:
$ sealedsecret -n dev list
my-super-secret
DATABASE_PASSWORD
To retrieve and view a SealedSecret you can get it.
sealedsecret get secret-name
To create a new SealedSecret:
sealedsecret create new-secret-name my-key my-value-to-protect
To update a SealedSecret file on disk, you can use the --merge-into flag of the create command:
sealedsecret create my-super-secret DATABASE_PASSWORD new-value
You can use this command to add new keys or edit existing keys.
To add a key or edit an existing key in an exitsing SealedSecret:
sealedsecret update existing-secret-name my-new-key a-value
The update and create commands only print the resource, you can redirect the output of edit an update to a file and then apply it using kubectl apply -f or you can pipe directly to kubectl apply -. You can use the global argument -o to choose between JSON or the default YAML output.
`` sealedsecret -o json create a-secret a-key a-value
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sealedsecretmgr-0.1.3.tar.gz.
File metadata
- Download URL: sealedsecretmgr-0.1.3.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.9.5 Linux/5.15.0-60-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ce88040388b6f1c0f83cda6a939dd430c4e544b7f877d3ec8c23dddc1fe956b
|
|
| MD5 |
3e65b004750ede9f7c64206a1599f1a1
|
|
| BLAKE2b-256 |
ffb32258771c84bd987c6a86cfcaab0663aa377e4d827a59fecde195de85f8cd
|
File details
Details for the file sealedsecretmgr-0.1.3-py3-none-any.whl.
File metadata
- Download URL: sealedsecretmgr-0.1.3-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.9.5 Linux/5.15.0-60-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b7f7e4bcda9d01a82f93859fe3a98985e49c0d369f50d9902b42af3a6bcc163
|
|
| MD5 |
d85c2e8fa0eb828d8e3280fc7220df69
|
|
| BLAKE2b-256 |
316bff7a2cdca45cae801a5a0b48f6913bf238f6e25ceac87c14e4ca8aa091af
|