Skip to main content
Enforce credential freshness by tracking credential age and blocking requests that use expired credentials. Agents receive a warning at 75 days and are denied at 90 days, with approval-gated access during the warning window.

Policy JSON

What It Does

  • Tracks credential creation dates and calculates age against the configured TTL
  • Warns at 75 days by requiring human approval before the agent can use the credential
  • Denies at 90 days — expired credentials are blocked entirely
  • Integrates with TealAudit to log rotation events and compliance status

Example

Agent attempts to use a credential created 82 days ago: Decision object:

Install

Customize

For SOC 2 compliance, set max_age_days to 90. For PCI DSS, use 90 or stricter. For internal development environments, 365 is a reasonable starting point.