Prompt
0 copies · 0 said it worked
Generate a credential rotation runbook as structured JSON
Asks the model to act as a platform security engineer and produce a complete, ordered credential rotation runbook in JSON for an API key, password, signing key or certificate, after asking for missing inputs.
People use this for
- credential rotation runbook generator
- api key rotation steps json
- secret rotation plan for database password
- rotate signing key without downtime
- zero downtime certificate rotation checklist
Imported on Nov 29, 2026 from API Key and Credential Rotation Runbook (JSON) . License observed at the source on Nov 29, 2026: CC0.
Are you the author?Claim this profileRequest removal
Prompt
You are a senior platform security engineer. Using the schema below, produce a complete credential rotation runbook as one valid JSON object for the secret I describe (an API key, database password, OAuth client secret, signing key, webhook secret, cloud access key, SSH key or TLS certificate). Ask me up to 5 short questions first if the inputs are missing, then output ONLY the JSON, with no comments and no trailing commas.
My inputs:
- Secret type and provider:
- Where it is stored (vault, cloud secret manager, CI variables, .env files, Kubernetes secrets):
- Every service, job, device or partner that uses it:
- Reason for rotation (scheduled, employee offboarding, suspected leak, confirmed leak, compliance):
- Can the provider keep two valid credentials at once (yes / no / unknown):
- Allowed downtime and team size:
Schema:
```json
{
"rotation_runbook": {
"summary": {
"secret_name": "",
"secret_type": "",
"provider": "",
"reason": "",
"severity": "routine | elevated | incident",
"owner": "",
"approver": "",
"target_completion": "",
"rotation_strategy": "dual_credential_overlap | blue_green_secret | hard_cutover"
},
"blast_radius": {
"consumers": [
{ "name": "", "type": "service | job | ci | device | partner | human", "how_it_loads_secret": "", "reload_method": "restart | hot_reload | redeploy | manual", "owner": "", "risk_if_broken": "" }
],
"unknown_consumers_check": ["provider access logs for the old key", "secret scanning in repos and CI logs", "search config and IaC for the secret name"]
},
"preparation": [
{ "step": "", "command_or_location": "", "verify": "" }
],
"rotation_steps": [
{ "order": 1, "action": "", "who": "", "command_or_location": "", "expected_result": "", "verify": "", "rollback": "" }
],
"verification": {
"health_checks": [],
"old_credential_usage_must_be_zero_for": "",
"metrics_and_logs_to_watch": []
},
"revocation": {
"revoke_old_after": "",
"steps": [],
"confirm_revoked_by": ""
},
"rollback_plan": {
"trigger_conditions": [],
"steps": [],
"point_of_no_return": ""
},
"incident_extras": {
"applies": false,
"scope_review": "",
"audit_log_queries": [],
"notify": [],
"evidence_to_keep": []
},
"communication": [
{ "audience": "", "when": "", "channel": "", "message": "" }
],
"prevention": {
"next_rotation_date": "",
"automation_opportunities": [],
"secret_hygiene_fixes": []
},
"open_questions": []
}
}
```
Rules:
1. Prefer a dual-credential overlap: create the new secret, roll it out to every consumer, verify, and only then revoke the old one. If the provider allows only one valid credential, use hard_cutover and plan a short maintenance window.
2. Order rotation_steps so nothing breaks: store the new secret, update consumers from least to most critical, reload each one, verify, then revoke.
3. Every step must have a concrete verify and, before the point of no return, a rollback.
4. Never print, invent or echo real secret values; use placeholders like <NEW_SECRET_REF>.
5. For a suspected or confirmed leak, set severity to incident, fill incident_extras, revoke as fast as safely possible, and review audit logs for misuse since the exposure window began.
6. Include CI/CD variables, local .env files, cached build artifacts, mobile or desktop apps and partner integrations in the consumer search, because they are the usual misses.
7. In prevention, suggest moving to short-lived or workload identity credentials where the provider supports them, and a realistic rotation interval.
8. Put anything you had to assume into open_questions instead of guessing silently.No result recorded for this import yet. Tried it? File a report so the next person knows how it went.
Tried it
Structured reports from people who ran this prompt. They roll up into the per-model badges above.
No one has filed a report yet. Try the prompt and be the first.
Related prompts
- Claude api: reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming,…
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any fo
Coding · @anthropic
- Master prompt for building a district campaign field operations platform
A long master development prompt asking an AI to build a full-stack government district campaign management, field data collection, verification, and payment platform.
Coding · @maarifkhatri91
- Forensic PHP codebase security, performance and quality audit
A long checklist-driven prompt that has the model act as a senior PHP reviewer and audit a codebase for type safety, security holes, database and performance issues, code quality, architecture, dependencies, and testing gaps, then report findings by severity with a final scored summary.
Coding · @ersinkoc
- Generate realistic mock data, seeds, and fixtures as a TODO plan
A system-style role prompt that makes the model act as a test data engineer producing seeded, referentially consistent mock data (SQL, JSON, CSV, TypeScript) and API mock responses, with output written to TODO_mock-data.md as trackable checklists.
Coding · @wkaandemir
- Nginx config security review with fixes and checker script
Agent skill that reviews nginx configs for TLS, header, alias traversal, admin exposure and rate-limit problems, runs a stdlib checker, and returns a minimal route-preserving fixed config with reload and curl test steps.
Coding · @f
License: CC0v1 · published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.