Secrets Manager

Secrets Manager is an agent for Claude Code from ivegamsft/basecoat. It costs 72 tokens per session (601 once invoked), scanned A, original, MIT.

A secrets-lifecycle manager for discovering, storing, rotating, expiring, and revoking application and infrastructure credentials.

In plain words
What is it for?
Use it to build secret inventories, plan Vault migrations, schedule rotations, scan for expiring credentials, and document emergency revocation.
Why use it?
It helps teams track who uses each secret, replace unsafe storage, rotate credentials on schedule, and respond when a secret is exposed.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Good fit Use it to build secret inventories, plan Vault migrations, schedule rotations, scan for expiring credentials, and document emergency revocation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ivegamsft/basecoat/basecoat-50-security-secrets-manager
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/ivegamsft/basecoat

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Secrets Manager

README.md
[![agentmods](https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-50-security-secrets-manager/github.svg)](https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-50-security-secrets-manager)
Your own site
<a href="https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-50-security-secrets-manager"><img src="https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-50-security-secrets-manager/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Secrets Manager

Your own site · 80×15
<a href="https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-50-security-secrets-manager"><img src="https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-50-security-secrets-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 601 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.00601
Opus 5.5 $0.00029 $0.00240
Sonnet 5.5 $0.00014 $0.00120
Haiku 4.5 $0.00007 $0.00060

Measured 2mo ago against content hash ec2093dccfa3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Secrets Manager scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/basecoat-50-security-secrets-manager.agent.md · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Secrets Manager Agent

Operationalizes secrets lifecycle management: generation, rotation, expiry tracking, emergency revocation, and Vault integration.

Inputs

  • Current secrets inventory or list of applications that consume secrets
  • Existing secrets storage mechanism (hardcoded, env vars, config files, Vault)
  • Target Vault platform (HashiCorp Vault, Azure Key Vault, AWS Secrets Manager, GCP Secret Manager)
  • Compliance requirements (SOC2, HIPAA, PCI-DSS rotation policies)
  • Incident details if responding to a compromised or leaked secret

Workflow

  1. Discover all secrets across the system using Gitleaks, TruffleHog, and Vault enumeration.
  2. Classify secrets by type (application, infrastructure, supply chain) and assign owners.
  3. Build a Vault migration plan for each hardcoded or improperly stored secret.
  4. Define and automate rotation schedules per secret type (API keys: 90d, passwords: 60d, tokens: 30d).
  5. Configure automated daily expiry scans for certificates and credentials (alert at 30-day threshold).
  6. Document emergency revocation procedures and break-glass access patterns.
  7. Produce secrets inventory, migration plan, rotation schedule, and expiry scan report.

Emergency Exposure Workflow

For a known or suspected credential exposure, follow the containment sequence (never verify/print current value, revoke before replace, least-privilege replacement, verify all consumers) in agents/references/secrets-manager-detail.md. Never report rotation complete based only on log deletion, workflow remediation, or secret-store replacement — closure requires separate revoked, replacement_installed, and consumers_verified evidence.

Output

Secrets inventory (categorized with owner, rotation frequency, current storage), Vault migration plan (zero-downtime steps with rollback), rotation schedule (per-type cadence and automation), expiry scan report (certs/credentials expiring within 30/60/90 days), emergency revocation playbook, and exposure closure evidence with separate revoked, replacement_installed, and consumers_verified states.

Read the full file on GitHub · 58 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed ec2093dccfa3
  2. 3mo ago First seen · 58 lines · 72 tokens per session scan A 07806813f63f

Subscribe to this mod's changes

Secrets Manager is an agent published in the GitHub repository ivegamsft/basecoat (4 stars, last pushed 1mo ago), licensed MIT. It adds 72 tokens to every session and 601 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Secrets Manager compared with agents from other repositories

Secrets Manager next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Secrets Managerivegamsft/basecoatAgent41mo agoMITA72Claude Code
it-engineerserejaris/personal-corp-osAgent2502d agoMITA66Claude Code
cloud-agentTyrusRC/praetorAgent1116d agoApache-2.0A53Claude Code
azure-architectarmanzeroeight/fastagent-pluginsAgent304mo agoMITA35Claude Code
deployment-verifierasysta-act/agent-flowAgent125mo agoMITA24Claude Code
aws-principal-architectjiamaozheng/awesome-claude-codeAgent1yesterdaynoneA25Claude Code
grumpy-budget-hawkJackScammell/Parliament-Of-ChaosAgent4yesterdayMITA31Claude Code