AgentSkillsCN

secret-rotation-runbook

按照项目运行手册的要求,定期轮换并验证敏感信息。适用于用户提及密钥轮换、API 密钥变更,或凭证更新时使用。

SKILL.md
--- frontmatter
name: secret-rotation-runbook
description: Rotate and validate secrets following the project runbook. Use when the user mentions secret rotation, API key changes, or credential updates.

Secret Rotation Runbook

Quick Start

  1. Follow the rotation runbook for the target system.
  2. Validate secrets with checks.
  3. Document updated keys without exposing values.

Steps

  • Follow docs/SECRET_ROTATION_RUNBOOK.md.
  • Use repo script:
    • scripts/check-secrets.ts
  • Never log or commit secrets; mask as ****.

Output

  • Validation status and any missing secrets.
  • Clear next steps if rotation fails.