Toxicsecrets: secrets management for toxicbuild¶
Toxicsecrets is a server that manages secrets for toxicbuild. Secrets are encrypted using AESGCM and then saves it to database. Toxicsecrets uses mongo as database.
Install¶
To install it use pip:
$ pip install toxicsecrets
Setup & config¶
Before executing builds you must create an environment for toxicsecrets. To do so use:
$ toxicsecrets create ~/secrets-env
This is going to create a ~/secrets-env directory with a toxicsecrets.conf
file in it. This file is used to configure toxicsecrets.
Check the configuration instructions for details
Run the server¶
When the configuration is done you can run the server with:
$ toxicsecrets start ~/secrets-env
For all options for the toxicsecrets command execute
$ toxicsecrets --help
Secrets server API¶
With the server running you can store and retrieve secrets. Check the api documentation for details