Batch traversal function to check for expiring SAML certificates.
Provides a pure function check_all/2 that adopters can hook into
their own schedulers. Queries active/next certificates on enabled
connections that are approaching their not_after threshold.
Summary
Functions
Checks for expiring certificates and emits standard :telemetry events.
Functions
@spec check_all( module(), keyword() ) :: {:ok, %{optional(binary()) => :ok}} | {:error, Relyra.Error.t()}
Checks for expiring certificates and emits standard :telemetry events.
opts:
:days_to_expiry— default30. Certificates expiring within this many days are flagged.
Returns {:ok, %{certificate_id => :ok}} for matching certificates.