Pcornel
Automation · Secrets & Credentials

Expiration

Cheat sheet · https://pcornel.dk/topic.php?topic=5899

Back to the Topic

Answer

Expiration constrains credential lifetime so stale or forgotten secrets eventually stop authenticating, but effective expiry depends on target enforcement, clock behavior, caches/sessions and renewal readiness.

Remember

  • Expiry date recorded ≠ expiry enforced by every consumer/target.
  • Certificate expired ≠ existing session necessarily terminated.
  • Token expiration ≠ refresh credential expired.
  • Auto-renew configured ≠ renewed credential loaded by workload.

First checks

  • TTL/expiry on secrets and tokens — limits
  • vault token lookup | grep ttl — Vault TTL
  • Expiry alerts — monitoring

Verify in this order

issue with TTL → renew or expire

Where it usually breaks

Expiration evidence proves lifetime enforcement at observed targets and sessions; it does not prove automatic revocation of copied material before expiry.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5899

Confirmation

Confirm action

Continue?