Creates an instance of AttestationAdministrationClient.
Example usage:
import { AttestationAdministrationClient } from "@azure/attestation";
const client = new AttestationAdministrationClient(
"<service endpoint>",
new TokenCredential("<>")
);
The attestation instance base URI, for example https://mytenant.attest.azure.net.
Used to configure the Form Recognizer client.
Retrieves the attestation policy document from the server, and returns it to the caller.
AttestationType for which to retrieve policy.
Pipeline and client options for the getPolicy
call.
AttestationResponse<string>
- the value
property is the
attestation policy, the token
property will be the actual token
returned by the attestation service.
Resets the attestation policy for the specified {@link attestationType} to the default value.
Attestation Type for which to set policy.
optional signing key used to sign the policy document
call options.
An AttestationResponse wrapping a PolicyResult. Clients can use the PolicyResult to validate that the policy was actually reset by the attestation service.
Sets the attestation policy for the specified {@link attestationType}.
Attestation Type for which to set policy.
Policy document to be set.
optional signing key used to sign the policy document
call options.
An AttestationResponse wrapping a PolicyResult. Clients can use the PolicyResult to validate that the policy was actually set by the attestation service.
Generated using TypeDoc
Attestation Client class.
The AttestationClient class enables access to the Attestation related APIs: