Skip to main content

API_KEY_NOMINAL_LIFETIME_MS

Constant API_KEY_NOMINAL_LIFETIME_MS 

Source
pub const API_KEY_NOMINAL_LIFETIME_MS: u64 = _ /* 31_536_000_000u64 */;
Expand description

Minted keys carry no expiry. The official CLI uses a key until the API answers 401 and never re-mints proactively; this horizon only keeps the repo-wide expiry check from ever forcing a needless re-mint (each mint is a server-side side effect). Invalidation is 401-driven via the broker’s rejected-token recovery.