Skip to main content

Credential Expiry

@sntxrr/credential-expiryv2026.08.19.4· 3d agoMODELS
01README

Probe the credentials a fleet actually holds and report how long each has left, distinguishing expiry from an outage in progress

02Models1
@sntxrr/credential-expiryv2026.08.19.4credential_expiry.ts

Global Arguments

ArgumentTypeDescription
credentialsarrayThe credentials to probe.
warnDaysarrayDay thresholds at which a credential is reported `warn`. The largest is the point at which it first becomes visible.
criticalDaysnumberAt or below this many days remaining, status becomes `critical` rather than `warn`.
apiBaseUrlstringGitHub API base URL, for `github-pat` probes. Override for GitHub Enterprise Server.
gitlabBaseUrlstringGitLab instance base URL, for `gitlab-pat` probes, without the /api/v4 suffix. Override for self-managed.
timeoutMsnumberAbort any single probe request after this long.
fn audit()
Probe every configured credential and write one resource each, plus a summary

Resources

credential(infinite)— One probed credential: its expiry, days remaining, and status
audit(infinite)— Summary of one audit pass: counts by status, the soonest expiry, and whether anything needs a human
03Previous Versions3
2026.08.19.3
2026.08.19.2
2026.08.19.1
04Stats
A
100 / 100
Downloads
4
Archive size
18.3 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels