Skip to main content

Check credential expiry

Read when a credential expires, how many days are left and whether it has expired. The user the run runs as must be able to use the vault folder.

Command in the Credential vault toolkit · id ooa.vault/credential_expiry · 2 inputs (1 required), 5 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
CredentialStringYesvault folder/credential, or folder/credential/attribute (the expiry belongs to the whole credential).
Warn (days)NumberNo14Report expiring_soon when this many days or fewer are left.

Outputs​

OutputTypeWhat it is
expiresStringThe expiry date (yyyy-MM-dd), or empty when it has none.
days_leftNumberDays until it expires (negative once past); empty when it has no expiry date.
expiredBooleanTrue when the expiry date has passed.
expiring_soonBooleanTrue when it expires within warn_days (and has not expired yet).
has_expiryBooleanTrue when the credential has an expiry date.