A command-line tool for managing encrypted keys stored in Redis, written in Go. It provides functionality to delete, list, and get keys securely. This tool was made for learning purposes.
To install kryptos
, use the following steps:
-
Clone the repository:
git clone https://github.com/chxmxii/kryptos.git cd kryptos
-
Install by running:
make install
kryptos
provides several commands to manage encrypted secrets in Redis. Below are the available commands:
To list all stored secrets:
kryptos list
To retrieve a specific key:
kryptos get <key> -i <dbidx> -k <decryption_key>
To delete a key:
kryptos del <key>
To add a new key:
kryptos put <key>:<value> -i <dbidx> -k <encryption_key>
For detailed usage of any command, use the --help
flag:
kryptos <command> --help
Make sure to configure your Redis/KeyDB connection settings before using the tool. You can do this by setting the appropriate environment variables or updating the configuration file.