Skip to main content

require_provisioned

Function require_provisioned 

Source
pub fn require_provisioned(
    cfg: &AccountZoneConfig,
) -> Result<AccountZone, IssuanceError>
Expand description

Validate that the deployment has provisioned DNS-01 wildcard issuance.

Returns the resolved AccountZone on success, or an IssuanceError::Unprovisioned / IssuanceError::InvalidZone otherwise. This is the sane-degrade check the serving/renewal layers call before attempting issuance — it never panics and never synthesizes a zone.