SaltDns.Certificates.Issuer.Order (Salt v1.0.0)

An order as an issuer reports it.

  • ref - what the issuer needs to find the order again (stored)
  • status - :pending (waiting for the proof), :ready (proof accepted, waiting for the signing request), :processing, :valid (a certificate can be fetched) or :invalid
  • records - the DNS records the issuer needs: %{name:, type:, value:}
  • http - the HTTP-01 challenges still to answer: %{domain:, token:, key_authorization:}. The host must serve key_authorization at /.well-known/acme-challenge/<token>; no DNS record is needed
  • error - the reason of an invalid order

Summary

Types

dns_record()

@type dns_record() :: %{name: String.t(), type: String.t(), value: String.t()}

t()

@type t() :: %SaltDns.Certificates.Issuer.Order{
  challenges: [map()],
  error: String.t() | nil,
  http: [
    %{domain: String.t(), token: String.t(), key_authorization: String.t()}
  ],
  records: [dns_record()],
  ref: map(),
  status: :pending | :ready | :processing | :valid | :invalid
}