Skip to content
rknall avatar

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
View on GitHub

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 ./secrets setup 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' -y

Installs 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:

  1. No Secrets in .env: Secrets MUST NEVER be in .env file
  2. No Secrets in docker-compose.yml: No plaintext secrets in environment variables
  3. ./secrets Directory: All secrets in ./secrets with 700 permissions
  4. Secret Files: Individual files with 600 permissions
  5. Git Protection: ./secrets/* in .gitignore, never committed
  6. Proper Ownership: All files owned by Docker user (not root)
  7. 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 9

Similar to GitLab Stack Secrets Manager

More DevOps & Cloud