Credential lifecycle

Understand active versions, renewal, overlap, replacement, reconnect, disable, and permanent revocation.

explanationFor operators, security reviewers, provider authorsOwner Constal platform teamVerified 2026-08-20

A Credential is stable while its encrypted material changes through versions. Consumers bind the stable CRN. The CredentialCoordinator serializes lifecycle changes and exposes metadata, never plaintext.

Version states

StateMeaning
ScheduledMaterial exists but is not injected
ActiveCurrent material for authorized use
RetiringPrior active material remains usable during overlap
RetiredNormal lifecycle ended and material is no longer injectable
RevokedPermanently unusable; destruction is scheduled or complete

At most one version is active. Activation moves the prior active version into retiring or retired state according to overlap policy.

Automatic renewal

A managed provider returns expiry information and defines when renewal should begin. Constal invokes the pinned provider, stores candidate material as a new version, verifies it when supported, then activates it. Provider-private refresh state advances atomically with the version.

An uncertain result is handled according to the provider's recovery contract. Single-use refresh protocols must not be blindly retried; they normally require reconnect when the outcome cannot be proven.

Manual replacement

Imported Credentials use Add version. The new version starts scheduled. Activate it only after the external system accepts the value. Retire or revoke the old value according to the service's rollover behavior.

Reconnect

Interactive Credentials can start a fresh authorization session when their grant expires or refresh cannot safely continue. Reconnect replaces the active authority only after callback validation, exchange, and verification complete.

Disable versus revoke

  • Disable a scoped binding to pause who can reach the Credential without destroying it.
  • Disable a Resource when every invocation through that Resource must stop.
  • Revoke one version when only that material is compromised.
  • Revoke the entire Credential for an irreversible emergency stop.

Prefer reversible binding controls for operational pauses. Use revocation when the external authority must be invalidated permanently.

Audit and visibility

The Credential view shows status, creation method, last use, next renewal, consumers, recent use, and collapsed version history. Fingerprints correlate versions without revealing material. Lifecycle events and use records are bounded and access-controlled.