Note: In its current state, this project is more of an MWE or proof-of-concept than a finished product.
Conduct is a simple secrets management tool. Define all your secrets in an external configuration file, reference them in your codebase, and have them dynamically parsed into a temporary execution environment, removed upon completion of your command.
-
Store your secrets in a
secrets.ymlfile in a location of your choice:MY_PASSWORD: "0penS3same"
-
Throughout your codebase, place your secrets in string literals using
SECRET_flags:password = "SECRET_MY_PASSWORD"
-
To execute your command, use
conduct:$ conduct /path/to/secrets.yml "your command"e.g.,
$ conduct ../secrets.yml "docker compose up --build --force-recreate -d"