GitLab Stack Secrets Manager
Manages Docker secrets for GitLab stacks, keeping credentials out of .env, compose files, and git.
- CCM score
- 42 of 100
- skills.sh installs
- 299
- GitHub stars
- 94
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers creating secret files, migrating values from .env and environment blocks, validating configuration, and auditing for leaks
- Includes
./secretssetup with 700 directory and 600 file permissions, plus .gitignore and git history checks - Enforces that no secrets appear in .env or docker-compose.yml environment variables, flagging them as critical issues
- Designed for projects running GitLab stacks under Docker that need to rotate or validate credentials before committing
Install
$ npx -y skills add rknall/claude-skills --skill 'GitLab Stack Secrets Manager' -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
GitLab Stack Secrets Manager
This skill manages secrets for GitLab stack projects, ensuring secrets are stored securely, never exposed in configuration files, and properly integrated with Docker secrets.
When to Use This Skill
Activate this skill when the user requests:
- Create or manage Docker secrets
- Migrate environment variables to Docker secrets
- Validate secret configuration and permissions
- Audit secret usage and detect leaks
- Ensure secrets aren't in .env or docker-compose.yml
- Check if secrets are exposed in git
- Generate secure random secrets
- Rotate existing secrets
- Fix secret-related security issues
Core Security Principles
CRITICAL RULES - Never violated:
- No Secrets in .env: Secrets MUST NEVER be in .env file
- No Secrets in docker-compose.yml: No plaintext secrets in environment variables
- ./secrets Directory: All secrets in ./secrets with 700 permissions
- Secret Files: Individual files with 600 permissions
- Git Protection: ./secrets/* in .gitignore, never committed
- Proper Ownership: All files owned by Docker user (not root)
- Docker Secrets Only: Use Docker secrets mechanism exclusively
Details
- Repository
- github.com/rknall/claude-skills
- Categories
- DevOps & Cloud, Security
- First seen
- Jun 3, 2026
Questions
What does the GitLab Stack Secrets Manager skill do?
It manages Docker secrets for GitLab stack projects, keeping secrets out of .env and docker-compose.yml and storing them in a ./secrets directory. It can create secrets, migrate environment variables to Docker secrets, validate secret configuration, and check that secrets are never committed to git.
How do I install the GitLab Stack Secrets Manager skill?
Run npx -y skills add rknall/claude-skills --skill 'GitLab Stack Secrets Manager' -y in your project. Once installed, the agent can audit your secret usage and flag secrets found in .env or compose files.
Where does this skill rank in the DevOps & Cloud category?
It is listed in the DevOps & Cloud category on Claude Marketplaces, alongside Azure skills such as azure-diagnostics, azure-deploy and azure-storage. Its focus is narrower, on Docker secret handling for GitLab stack projects rather than cloud deployment.
More from rknall/claude-skills
All 9Similar to GitLab Stack Secrets Manager
More DevOps & Cloudsecrets-managerPluginrknall/claude-skills94 starsManages Docker secrets for GitLab stack projects, ensuring secrets are never in .env or docker-compose.yml. Handles migration from environment variables, valida
GitLab Stack ValidatorSkillrknall/claude-skills301 installsValidates GitLab stack projects for architecture patterns, secrets handling, and Docker configuration before deployment.
secrets-managementSkillwshobson/agents14.2K installsSecrets management patterns for CI/CD using Vault, AWS Secrets Manager, and native platform stores, without hardcoded credentials.
env-secrets-managerSkillalirezarezvani/claude-skills712 installsEnv and secrets hygiene for local and production, from auditing .env files to planning rotation.
dockerSkillmindrally/skills1.2K installsContainerization guidance covering image builds, hardening, Compose workflows, and CI/CD practices for Docker.