现在,在Claude控制台中创建API密钥或管理员API密钥时,您可以设置过期时间。您可以选择预设时长、自定义时长或永不过期。对于有效期至少为7天的密钥,Anthropic会在过期前向创建者发送邮件通知。现有密钥不受影响。管理员API会在expires_at字段中报告每个密钥的过期时间。请参阅身份验证。
You can now set an expiration when you create an API key or an Admin API key in the Claude Console. Choose a preset, a custom duration, or Never. For keys with a lifetime of at least 7 days, Anthropic emails the creator before expiration. Existing keys are unaffected. The Admin API reports each key's expiration in the expires_at field. See Authentication.
本文内容采集自官方网站,排版和翻译可能与原页面存在差异。
阅读官方全文