Skip to content

Instantly share code, notes, and snippets.

View BoogerMan2103's full-sized avatar
😶‍🌫️

BooGerMan BoogerMan2103

😶‍🌫️
View GitHub Profile
@BoogerMan2103
BoogerMan2103 / opensslcrypt.py
Created November 21, 2023 11:51
python-script that imitates helm-secret (or sops) in minimal environment
#!/usr/bin/env python3
"""
The goal of this script:
- take yaml file
- parse objects inside
- encrypt/decrypt (de/base64) objects if it not dict or dict
```sh
cat some.yaml
secret_value: some value