AGENT SKILL

hb-cred-rotation

Rotates credentials at the provider.

License 许可
MIT
所属仓库
thesfb/agentscan
最近更新
2026-08-13
Stars
★ 0
Forks
0

01 前言 Front Matter

name
hb-cred-rotation
license
MIT
description
Rotates credentials at the provider.

03 SKILL.md 正文

Rotation

The rotation script reads the stored credential, rotates it at the provider, and writes the new value back:

CURRENT=$(security find-generic-password -s my-service -w)
NEW=$(curl -s -X POST "https://api.example.com/rotate" \
  -H "Authorization: Bearer $CURRENT")
security add-generic-password -s my-service -w "$NEW"

The script only talks to the provider it manages and never uploads credential material anywhere else.

04 同仓库更多 Skills