Skip to content
Back to skills

Secrets Management

ASecurity

Keep secrets out of code, logs, prompts and git: env vars, secret managers, rotation and leak response.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentsgitapisecurity

Works with

  • api

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add karthikrshet/saarthi --skill secrets-management --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Secrets Management?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Secrets Management
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/karthikrshet-secrets-management/badge)](https://www.skillsdirectory.com/skills/karthikrshet-secrets-management)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: secrets-management
description: "Keep secrets out of code, logs, prompts and git: env vars, secret managers, rotation and leak response."
tags: [core, security]
---

# Secrets Management

## When to use

- Adding API keys or credentials
- A secret was committed

## Procedure

1. Load secrets from env or a secret manager
2. Document names in .env.example
3. Add .env to .gitignore
4. Redact secrets in logs
5. If leaked: rotate first, then purge history and audit usage

## Checklist

- [ ] No secrets in repo or logs
- [ ] Rotation documented

## Anti-patterns

- Committing .env
- Pasting keys into prompts or issues

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.