bookshelfdave / ksv.py

Decode or encode entire Kubernetes secrets yaml files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ksv

ksv decodes/encodes entire Kubernetes secrets files.

  • Free software: Apache Software License 2.0

Installation

pip install ksv
# or pip3, ksv requires Python 3

Usage

Decoding all secret values:

ksv < some_secrets_file_with_base64_encoded_data_values.yaml

Encoding all secret values:

ksv --encode < some_secrets_file_with_plaintext_data_values.yaml

Round trip:

ksv < test.yaml | ksv --encode

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

About

Decode or encode entire Kubernetes secrets yaml files

License:Other


Languages

Language:Python 66.9%Language:Makefile 32.4%Language:Shell 0.7%