Lifetime and Expiration for Issuers
Credentials issued with Procivis One have two optional, configurable lifetimes: technical and administrative. This page explains how to set both, and how they both function to control the lifetime of credentials.
How it works
set one or the other or both ...
Technical lifetime
Set a technical lifetime in a format's configuration:
format:
SD-JWT:
params:
public:
expirationSeconds: 63072000 # 2 years
MDOC:
params:
public:
expirationSeconds: 259200 # 72 hours
This sets an upper limit to the lifetime of any credential issued using
this configured format instance. For each format, the appropriate mechanism
for setting the expiration is automatically used. In the example above, all
SD-JWT VCs issued will include an exp that is two years from the time of
issuance, while all mdocs will include an MSO that expires 72 hours after
issuance (unless)
Administrative lifetime
When both are set
Both lifetimes can be set independently, with no reference to the other. When any lifetime is reached, the credential is expired.
Expiration
When a credential expires:
Checking status
link
Related links
credential states link