Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samcole8/conduct
Secrets management tool for Docker Compose and more.
https://github.com/samcole8/conduct
ansible docker-compose secrets-management
Last synced: 13 days ago
JSON representation
Secrets management tool for Docker Compose and more.
- Host: GitHub
- URL: https://github.com/samcole8/conduct
- Owner: samcole8
- License: gpl-3.0
- Created: 2024-06-27T14:34:17.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-07-12T13:38:45.000Z (7 months ago)
- Last Synced: 2024-11-13T17:09:52.739Z (2 months ago)
- Topics: ansible, docker-compose, secrets-management
- Language: Python
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
*Note: In its current state, this project is more of an MWE or proof-of-concept than a finished product.*
# Conduct
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.
## Usage
- Store your secrets in a `secrets.yml` file in a location of your choice:
```yml
MY_PASSWORD: "0penS3same"
```- Throughout your codebase, place your secrets in string literals using `SECRET_` flags:
```python
password = "SECRET_MY_PASSWORD"
```- To execute your command, use `conduct`:
```bash
$ conduct /path/to/secrets.yml "your command"
```e.g.,
```bash
$ conduct ../secrets.yml "docker compose up --build --force-recreate -d"
```