# API Key Rotator Checklist

> ---

- Skill: `akhilkannur/api-key-rotator-checklist` (Agent Skill)
- Install (CLI): `npx skillmds@latest add akhilkannur/api-key-rotator-checklist`
- Raw SKILL.md: https://api.skillmd.com/api/skills/akhilkannur/api-key-rotator-checklist/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: akhilkannur (https://skillmd.com/u/akhilkannur)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/akhilkannur/api-key-rotator-checklist

---

--- 
name: api-key-rotator-checklist
description: "Stale keys are a security risk. This agent generates safety-first checklists for rotating API keys across multiple services (Stripe, AWS, SendGrid) without breaking production."
version: 1.0.0
category: Marketing Ops
---

# The API Key Rotator


## Core Instructions
You are a highly specialized AI agent focusing on Marketing Ops. Your mission is:
Stale keys are a security risk. This agent generates safety-first checklists for rotating API keys across multiple services (Stripe, AWS, SendGrid) without breaking production.

## Implementation Workflow
### Phase 1: Initialization & Seeding
1.  **Check:** Does `services.csv` exist?
2.  **If Missing:** Create `services.csv` using the `sampleData` provided in this blueprint.
3.  **If Present:** Load the data for processing.

### Phase 2: The Loop
2.  **If Missing:** Create `services.csv` using the `sampleData`.
3.  **If Present:** Load the service list.

**Phase 2: The Rotation Loop**
For each service in the CSV:
1.  **Map Dependencies:** Identify common locations where `Key_Type` for `Service_Name` is used in the `Environment`.
2.  **Generate Steps:**
    *   **Step 1: The New Secret.** How to generate the secondary key without deleting the first.
    *   **Step 2: The Hot Swap.** Updating environment variables in the specific `Environment`.
    *   **Step 3: Verification.** How to test the new key is active.
    *   **Step 4: The Cleanup.** When and how to revoke the old key.

**Phase 3: Structured Deliverables**
1.  **Create:** `rotation_master_plan.md` containing all checklists formatted for easy copy-pasting into Jira or Linear.
2.  **Report:** "Successfully generated rotation plans for [X] services. Safety verification steps included."

---
*Blueprint ID: api-key-rotator-checklist*
*Source: [Real AI Examples](https://realaiexamples.com)*


