SaltDns.Certificates.Certificate (Salt v1.0.0)

A wildcard certificate of one zone: always exactly the zone and *.zone (SaltDns.Certificates.Names). It belongs to the zone's organisation.

provider_ids is the order of providers to try; provider_index is the one in use and provider_failures counts consecutive failures at it, after which the next provider is tried. failure_count counts consecutive failures overall and sets the retry delay (SaltDns.Certificates.Renewal). kind is nil for the certificates of a zone and the custom ones inside a zone, and "external" for one host that lies in no zone of Salt, validated by HTTP-01 through the proxy group proxy_group_id (SaltDns.Certificates.Http01). An external certificate has no zone (zone_id is nil, zone_name holds its host). next_check_at is when the watcher looks at the certificate again. ari_* is the provider's last renewal information (RFC 9773).

Summary

Functions

The statuses.

Types

t()

@type t() :: %SaltDns.Certificates.Certificate{
  __meta__: term(),
  ari_checked_at: term(),
  ari_explanation_url: term(),
  ari_window_end: term(),
  ari_window_start: term(),
  caa_records: term(),
  current_version_id: term(),
  events: term(),
  failure_count: term(),
  id: term(),
  inserted_at: term(),
  kind: term(),
  last_error: term(),
  names: term(),
  next_check_at: term(),
  not_after: term(),
  organisation: term(),
  organisation_id: term(),
  profile: term(),
  provider_failures: term(),
  provider_ids: term(),
  provider_index: term(),
  proxy_group: term(),
  proxy_group_id: term(),
  publish_caa: term(),
  renew_requested_at: term(),
  status: term(),
  updated_at: term(),
  versions: term(),
  zone: term(),
  zone_id: term(),
  zone_name: term()
}

Functions

statuses()

@spec statuses() :: [atom()]

The statuses.