AttestationPolicyToken Class

An AttestationPolicyToken is an AttestationToken object specialized for use in attestation policy set_policy operations. It expresses the JSON Web Signature object sent to the attestation service to set the token.

This token can thus be used to validate the hash returned by the set_policy API.

Inheritance
azure.security.attestation._models.AttestationToken
AttestationPolicyToken

Constructor

AttestationPolicyToken(policy: str, **kwargs: Dict[str, Any])

Parameters

policy
str
Required

Attestation Policy to be used in the body of the token.