| Field | Description | Example |
| Label | Human-readable name for this key | Zapier Integration, Reporting Dashboard |
| Permission Scope | What the key can access | Full Access or Read Only |
| Expiration | When the key auto-revokes | 30 days, 90 days, 1 year, Never |
Authorization header as a Bearer token:123curl -X GET "https://api.shaf.app/v1/links" \ -H "Authorization: Bearer sk_live_your_key_here" \ -H "Content-Type: application/json"
12# Example: updating GitHub Actions secret via CLI gh secret set SHAF_API_KEY --body "sk_live_new_key_here"
staging and production. This ensures audit logs are attributed correctly and a compromised staging key can't impact production.Never for keys used in automated systems. Scheduled rotation reduces blast radius from key leaks.Authorization: Bearer <key> header format with a space before the key and no extra quotes. Also confirm the key hasn't expired by checking the Expiration column in Settings → API Keys.