For symmetic encryption, you can use the following:
To encrypt:
openssl aes-256-cbc -salt -a -e -in plaintext.txt -out encrypted.txt
To decrypt:
| ##################################################### | |
| # Bash functions to put in .bashrc or .bash_aliases # | |
| ##################################################### | |
| # For Debian/Ubuntu | |
| function pretty_csv { | |
| column -t -s, -n "$@" | less -F -S -X -K | |
| } | |
| function pretty_tsv { | |
| column -t -s $'\t' -n "$@" | less -F -S -X -K |
| #! /bin/bash | |
| kubectl config view --minify -o yaml|grep current-context | |
| kubectl config view --minify -o yaml|grep namespace |