Keys made by agents now expire, and no key outlives its creator
The 31 August entry below said keys created through the REST API, MCP or
Terraform still default to no expiry. That is no longer true of MCP. A key
created by an agent through create_api_key, and a key created
from the connect page, now default to 90 days — or to the
creating key's own expiry, if that comes sooner.
The bigger change is a ceiling rather than a default: a key created by a key may not be given a later expiry than the key that creates it. Ask for a longer one and the request is refused, and the refusal tells you the latest date you may ask for. A leaked credential can no longer be spent on minting a longer-lived replacement for itself before anyone notices and revokes it.
Omitting expires_at is unchanged everywhere it already worked: in
the console, and through the REST API or Terraform, an omitted value still
means no expiry. Only the ceiling is new. A future release will let an omitted
value take the creating key's expiry instead of no expiry at all, once the
Terraform provider can represent that.