Simple Secrets Manager is a lightweight, self-hosted secret manager for teams that need clean project/config-based secret organization without enterprise overhead. Comes with a ssm-cli command-line client.
Start the full stack with Docker Compose:
docker compose up -d --buildEndpoints:
- Frontend:
http://localhost:8080 - Backend API via proxy:
http://localhost:8080/api - Backend API direct:
http://localhost:5000/api
On a fresh install:
- Open
http://localhost:8080 - Complete initial setup (create first admin user)
- Sign in and create projects/configs/secrets
API-only bootstrap steps are in docs/FIRST_TIME_SETUP.md.
ssm-cli is a lightweight command-line client that securely authenticates to Simple Secrets Manager and injects your project/config secrets into any command or runtime on demand.
Install ssm-cli globally via uv:
uv tool install git+https://github.com/bearlike/Simple-Secrets-Manager.git
uv tool update-shell
ssm-cli --helpIf ssm-cli is not found, ensure uv's tool bin is on PATH:
export PATH="$(uv tool dir --bin):$PATH"Already installed? Update to latest:
uv tool upgrade simple-secrets-managerIf you installed from Git and want a fresh reinstall:
uv tool install --force git+https://github.com/bearlike/Simple-Secrets-Manager.gitSet backend URL and token:
ssm-cli configure --base-url http://localhost:8080/api --profile dev
ssm-cli auth set-token --token "<service-or-personal-token>" --profile devOr login with username/password:
ssm-cli login --profile devInject secrets into a process:
ssm-cli run --profile dev -- python app.pyssm-cli run resolves secret references by default, including ${KEY}, ${config.KEY}, and ${project.config.KEY}.
Invalid or unresolved references are rejected on save by the API, and missing references at read time resolve to empty strings.
Download secrets:
ssm-cli secrets download --profile dev --format json
ssm-cli secrets download --profile dev --format json --rawCheck active CLI session:
ssm-cli whoami --profile dev- CLI reference:
docs/CLI.md - First-time setup:
docs/FIRST_TIME_SETUP.md - Container runtime reference:
docs/README_dockerhub.md - Developer docs:
docs/DEVELOPER_GUIDE.md
If you run from this repository source:
git pull
docker compose up -d --buildIf you run prebuilt images only:
docker compose pull
docker compose up -dWe welcome contributions from the community to improve this project. Use the steps below.
- Fork the repository and clone it to your local machine.
- Use the pre-commit hook to automate linting and testing, catching errors early.
- Create a new branch for your contribution.
- Make your changes, commit them, and push to your fork.
- Open a pull request describing the change and the problem it solves.
If you encounter bugs or have ideas for features, open an issue on the issue tracker. Include reproduction steps and error messages when possible.
Thank you for contributing.
Licensed under CC0 1.0 Universal.
