Skip to main content

12.3 Static API Keys & Service Secrets

When authority is cryptographic and scoped, static API keys become obsolete.


Legacy API Key Model vs PTERI

CategoryTraditional ModelProblemsPTERI Replacement
Authentication MethodLong-lived API keysKey leakageSigned requests
Storage ModelStored in environment variablesSecrets exposed in logs, CI/CD, or memoryNo stored secrets
Service ArchitectureShared across servicesNo attributionMachines have unique cryptographic identities
Authorization ModelKey grants ambient authorityNo intent verificationScoped authority per request
Key LifecycleManual rotation requiredDifficult rotationNo rotation needed (no reusable secret)
AuditabilityKey use not tied to intentCannot prove who approved whatDeterministic verification

Core Principle

"Machines become cryptographic identities, not secret holders."

When every request is signed, authority is explicit, scoped, and verifiable — not embedded in static secrets.