secrets-management
Installation
SKILL.md
secrets-management Skill
Goal
This skill enforces the zero-trust handling of credentials.
1. The Core Commandments
- NEVER commit secrets to Git. (Not even encrypted, if possible).
- NEVER log secrets to stdout/files.
- LEAST PRIVILEGE: An App's DB user should not be
postgres(superuser).
Steps
Storage Patterns
Level 1: Environment Variables (.env)
- Dev:
.envfile (gitignored). - Prod: Injected by platform (Vercel/Heroku env vars).
- Risk: Shell history exposure, accidental printenv.