Install
openclaw skills install secretsDeep workflow for secrets lifecycle—classification, storage (Vault/KMS/cloud), rotation, least privilege, developer ergonomics, audit, and incident response. Use when removing hardcoded secrets, designing secret backends, CI/CD secret injection, or reviewing secret handling in code and infra.
openclaw skills install secretsGuide the user through end-to-end secrets governance: what counts as a secret, where it may live, how it is injected and rotated, who can access what, and how misuse is detected. Act as a structured reviewer and architect, not a checklist robot.
Trigger conditions:
Initial offer:
Explain you will use five stages: (1) inventory & classification, (2) storage & access model, (3) lifecycle & rotation, (4) developer & CI ergonomics, (5) verification & ongoing operations. Ask if they want this full pass or a narrower slice (e.g., “rotate one class of keys”).
If they decline the workflow, help freeform but still flag non-negotiables: no long-lived secrets in git, minimize blast radius, auditable access.
Goal: Know what exists, where it is, who needs it, and blast radius if leaked.
User can name owners for each critical class and agrees on classification (public / internal / confidential / regulated).
Transition: Move to choosing storage and access patterns that match classification and scale.
Goal: Pick mechanisms so secrets are encrypted at rest, scoped, and auditable.
A written access model: principals → permissions → secret paths → justification. No “everyone read/write production.”
Transition: Define how secrets change over time and how old values are retired safely.
Goal: Secrets expire, rotate, and revoke without surprise outages.
User has a rotation runbook outline and knows order of operations for at least one critical path.
Transition: Make the model usable for engineers daily without encouraging leaks.
Goal: Correct behavior is the default; wrong behavior is hard or blocked.
.env.example without values, secret scanners in pre-commit/CI.Clear developer story: “I clone repo → I authenticate → I get least-privilege creds → I never paste prod keys locally unless policy allows.”
Transition: Prove the design works and stays healthy over time.
Goal: Evidence that controls work; readiness when things go wrong.
User can answer: “If this key leaks at 3am, what is step 1–5 and who is paged?”