AGENT SKILL

secrets-rotate

Rotate a Secret - Update an existing secret with a new value. Logs the rotation action to the audit log (never the value).

License 许可
MIT
所属仓库
cooneycw/skillc
最近更新
2026-11-15
Stars
★ 0
Forks
0

01 前言 Front Matter

name
secrets-rotate
description
Rotate a Secret - Update an existing secret with a new value. Logs the rotation action to the audit log (never the value).

03 SKILL.md 正文

<!-- GENERATED by claude-power-pack - scripts/codex-skill-sync.py; edit .claude/commands/secrets/rotate.md instead -->

Rotate a Secret

Update an existing secret with a new value. Logs the rotation action to the audit log (never the value).

Arguments

  • KEY (required): Secret key to rotate
  • VALUE (optional): New value (prompts interactively if not provided)

Instructions

When the user invokes /secrets-rotate KEY [VALUE], run:

PYTHONPATH="${HOME}/Projects/claude-power-pack:${PYTHONPATH}" uv run --project "${HOME}/Projects/claude-power-pack" python -m lib.creds rotate "$KEY" "$VALUE"

Without value (interactive prompt):

PYTHONPATH="${HOME}/Projects/claude-power-pack:${PYTHONPATH}" uv run --project "${HOME}/Projects/claude-power-pack" python -m lib.creds rotate "$KEY"

IMPORTANT: Never echo or display the secret value in output.

Report the rotation result to the user.

04 同仓库更多 Skills