Generally available2026년 7월 8일

Set an expiration date on API keys

When you create an API key or Admin API key in the Claude Console, pick a preset expiration, a custom duration, or Never.

계정 유형
API
공유

You can now give an API key or an Admin API key an end date, which limits the damage if it leaks.

When you create an API key in the Claude Console, choose an expiration: a preset (3 hours, 1 day, 7 days, or 30 days), a custom duration, or Never.

If your organization has a maximum expiration policy, the Console limits presets and custom durations to the policy maximum, and Never is unavailable. Anthropic emails the key's creator as the expiration approaches. Keys with a lifetime shorter than 7 days expire without a warning email.

Keys you already have don't change. To check a key's expiration by API, read expires_at in the Admin API.

이전 업데이트

2026년 7월 7일
2026년 7월 2일
2026년 7월 1일
2026년 6월 30일