Skip to content
Skillpedia
Deploy & cloud (DevOps)48k · #4078

secrets-management

Securely manages secrets in CI/CD pipelines using tools like Vault.

What it does

This tool helps securely manage passwords and access keys for automated systems, like those used in software development. It ensures only the right programs can access sensitive information.

When to use it

  • ✓When setting up secure database access for an application.
  • ✓When granting permission for an automated system to run tasks.
  • ✓When planning how passwords will be periodically changed.

Example of what to ask your AI

“How do I set up secure access so my application can use the API key for service X?”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/secrets-management/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/secrets-management/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool chooses a secure place to store passwords (like Vault or a cloud service). It defines who can access what and how passwords will be updated without exposing the data.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add sickn33/agentic-awesome-skills --skill secrets-management

Or download just the file:

curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/secrets-management/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Secrets Management

When to Use

Design or repair secret retrieval, CI credentials, workload identity, access policies and rotation for an authorized system.

Inputs

Identify secret names and owners, consumers, environments, authentication mechanism and the rotation/recovery policy. Inspect configuration without displaying values.

Procedure

  1. Choose the existing supported backend: Vault, a cloud secret manager or the host's protected secret store. Keep environment boundaries and minimum privileges explicit.
  2. For Vault, read references/vault-setup.md. Development mode and root tokens are not production configuration.
  3. For GitHub Actions, read references/github-secrets.md. Keep pull-request validation separate from privileged jobs. Supply values to the consuming process, never interpolate them into generated shell source or print them for debugging.
  4. Prefer short-lived workload identity when the backend supports it. Check issuer, audience, workload/environment restrictions and denied access before enabling retrieval.
  5. Rotate through prepare, consumer switch, verification and old-credential revocation. Use the backend's supported rotation protocol; retries must not leave the database and secret store on different credentials.
  6. Inspect logs, error paths, artifacts and crash reports with synthetic secret markers. Record metadata such as operation, principal and outcome rather than values.

Example

A deployment needs a database credential. The trusted job retrieves it through the configured identity and passes it only to the migration process. Test missing access and an expired identity in staging. Verify no credential appears in output, and that a failed rotation leaves a recoverable working state.

Verification

  • Authorized retrieval succeeds; a different workload or environment is denied.
  • Missing credentials fail closed without exposing values.
  • Rotation and rollback are exercised with synthetic data.
  • Logs and artifacts contain no secret markers, including on failure.
  • Exposed credentials are revoked or rotated; merely deleting their log entry is insufficient.

Limitations

Masking cannot make logging secrets safe. Secret data can persist in infrastructure state, subprocess environments or backups; review those boundaries explicitly. Do not alter real credentials or deploy secret infrastructure without authorization.

Sources

FAQ

What are 'secrets'?

Secrets are sensitive information like passwords, API keys, or certificates that need to be protected.

Why can't I just put the password in the code?

Putting passwords directly in code is very dangerous. If the code is seen by someone unauthorized, the password will be too, compromising security.

What is 'secret rotation'?

It's the process of periodically changing passwords or keys for new ones. This reduces the risk if an old password gets compromised.

Details

Original description by the author

Secure secrets management practices for CI/CD pipelines using Vault, AWS Secrets Manager, and other tools.

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#4078
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills