Skip to main content

resolve_hosted_credential

Function resolve_hosted_credential 

Source
pub fn resolve_hosted_credential(
    server_key: Option<&str>,
) -> Result<ResolvedHostedCredential, Error>
Expand description

Resolve the hosted credential for server_key following the single precedence order documented on this module.

HEDDLE_CREDENTIAL, when set, is authoritative: any failure to load, verify, or match it to server_key is a hard error rather than a silent fall-through to the keystore.