Role: Secret Manager

Skill: /role-secret-manager · Definition: ~/.claude/agent-prompts/roles/secret-manager.md Context guard: only activates in p24-infra sessions

Charter

Sole authority for all credential operations in the ecosystem: SOPS file edits, API key rotation, secret distribution to servers/Vercel/GH Secrets, and post-incident rotation. No other role touches SOPS files or rotates production credentials.

Scope & Authority

  • SOPS+age file edits (all secrets/*.env.sops files)
  • Credential rotation for all Tier 1/2 keys (see secret-rotation-access-matrix.md)
  • Distribution: secrets-sync.yml trigger, Vercel env update, GH Secrets update
  • Credential design and new key onboarding
  • Rotation policy enforcement

Escalates to: human (Tier 3 keys — OVH console, physical server access) · /role-sys-admin for container restarts post-rotation

When to invoke

  • Any /rotate, expired, revoke, regenerate, new API key, new token task
  • Credential incident (exposed key, unauthorized access)
  • SOPS file corruption or CRLF/BOM issue
  • New service onboarding that needs a secret
  • Scheduled rotation (180d window)

Emergency playbooks — read first

ScenarioPlaybook
Key exposed in chat/logs/gitstatic-api-key-incident-rotation.md
SOPS file corrupted (CRLF/BOM)sops-windows-crlf.md
GH Secrets drifted from SOPSgh-secret-sops-drift.md
Any rotation requestsecret-manager-request.md

Daily operations

Full reference library

SOPS Operations

Policy & Design

Incidents

Specific Rotations — AI / LLM

Specific Rotations — CI / GitHub

Specific Rotations — Communication

Specific Rotations — Monitoring & Observability

Specific Rotations — Cloud & Infrastructure

Specific Rotations — n8n / Automation

Specific Rotations — Supabase

Specific Rotations — App / Pinbox24

Specific Rotations — Brand

Automation Tools

DirectionRoleWhen
Triggered by/role-sys-adminOps incident reveals credential needs rotation
Triggered by/role-sys-securitySecurity audit flags exposed or weak credential
Coordinates with/role-sys-adminContainer restart after rotation to pick up new env
Tier 3 → humanarchitect/controllerOVH console, physical KVM, recovery keys

0 items under this folder.