v5

latestSwagger 2.02026-07-13153763.4 KB

Sets the policy for a given attestation type.

Sets the policy for a given attestation type.

put/policies/{attestationType}

Path parameters

attestationType'SgxEnclave' | 'OpenEnclave' | 'AzureGuest' | 'SevSnpVm' | 'Tpm' | 'TdxVm' required

Specifies the trusted execution environment to be used to validate the evidence

Query parameters

api-versionstring required

The API version to use for this operation.

Response

The request has succeeded.

tokenstring

An RFC7519 JSON Web Token structure whose body is an PolicyResult object.