secrets-management
Skill by wshobson
Guides an AI assistant through storing and loading secrets in CI/CD pipelines with Vault, AWS Secrets Manager and native platform tools. Written for engineers who handle API keys, database passwords and credential rotation.
Install secrets-management
Built from the published package, never by AI.
git clone --depth 1 https://github.com/wshobson/agents /tmp/agents && mkdir -p ~/.claude/skills && cp -r /tmp/agents/plugins/cicd-automation/skills/secrets-management ~/.claude/skills/secrets-managementRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/wshobson/agents /tmp/agents && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agents/plugins/cicd-automation/skills/secrets-management ~/.gemini/antigravity-cli/skills/secrets-managementAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant guidance on handling secrets in CI/CD pipelines without hardcoding them. It covers HashiCorp Vault and AWS Secrets Manager with code examples, and briefly lists Azure Key Vault and Google Secret Manager. It shows how to pull secrets into GitHub Actions and GitLab CI jobs, and how to use GitHub and GitLab variables. It also includes a Lambda example for rotating an AWS secret, a Kubernetes External Secrets setup, and TruffleHog secret scanning.
The skill is written for engineers who store API keys, database passwords and TLS certificates, rotate credentials, or secure CI/CD environments. It lists best practices such as using different secrets per environment, least-privilege access, masking secrets in logs and using short-lived tokens. It refers to related skills for GitHub Actions, GitLab CI and deployment pipeline design.
Written from the project's SKILL.md and checked against it.
What it can do
- Vault secret storageShows how to start a Vault server, enable a KV v2 secrets engine and store secrets.
- GitHub Actions secret importPulls Vault secrets into a GitHub Actions workflow as environment variables.
- GitLab CI secret useReads Vault secrets inside a GitLab CI deploy job.
- AWS Secrets Manager retrievalCreates an AWS secret and reads it in a workflow and in Terraform.
- Automated rotationLambda example that generates a new password and updates an AWS secret.
- Kubernetes External SecretsDefines a SecretStore and ExternalSecret that sync Vault data into Kubernetes.
- Secret scanningTruffleHog pre-commit hook and CI job to catch committed secrets.
- GitLab variable settingsDescribes protected, masked and file-type GitLab CI variables.
What you need
- HashiCorp Vault
- AWS account with Secrets Manager access
- GitHub Actions or GitLab CI
- Docker for the TruffleHog examples
Try asking
- Set up a GitHub Actions workflow that loads database credentials from Vault.
- Write a script that rotates an AWS Secrets Manager password.
- Add TruffleHog secret scanning to my GitLab CI pipeline.
Good to know
- The Vault setup example uses a dev server and a root token.
- The Lambda rotation example calls helper functions that the source does not define.
- Azure Key Vault and Google Secret Manager are listed without code examples.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/cicd-automation/skills/secrets-management/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
Alternatives to secrets-management
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
secrets-management: common questions
Does this skill cover Azure and Google secrets?
It lists Azure Key Vault and Google Secret Manager with short notes. Code examples are given only for HashiCorp Vault, AWS Secrets Manager and the CI and Kubernetes integrations.
Can it help rotate secrets automatically?
It includes a Python Lambda example for rotating an AWS secret and a manual rotation process. The example relies on helper functions that are not included.
Does it work with Kubernetes?
It includes an External Secrets Operator example that syncs a Vault secret into a Kubernetes Secret.
How do I install secrets-management?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is secrets-management free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is secrets-management safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to secrets-management?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
