Package version:
Creates an instance of AttestationAdministrationClient.
Example usage:
import { AttestationAdministrationClient } from "@azure/attestation";
import { DefaultAzureCredential } from "@azure/identity";
const endpoint = "https://<attestation-instance>.<region>.attest.azure.net";
const client = new AttestationAdministrationClient(endpoint, new DefaultAzureCredential());
The attestation instance endpoint, for example https://mytenant.attest.azure.net.
Used to configure the Form Recognizer client.
Add a new certificate chain to the set of policy management certificates.
PEM encoded certificate to add to the set of policy management certificates.
Existing attestation private key used to sign the incoming request.
Existing attestation certificate used to verify the incoming request.
Options used in the call to the service.
An attestation response including a PolicyCertificatesModificationResult
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.
Returns the set of policy management certificates for this attestation instance.
Options for the call to the attestation service.
AttestationResponse wrapping a list of Attestation Signers.
Add a new certificate chain to the set of policy management certificates.
PEM encoded certificate to add to the set of policy management certificates.
Existing attestation private key used to sign the incoming request.
Existing attestation certificate used to verify the incoming request.
Options used in the call to the service.
An attestation response including a PolicyCertificatesModificationResult
Resets the attestation policy for the specified attestationType to the default value.
Attestation Type for which to set policy.
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 attestationType.
Attestation Type for which to set policy.
Policy document to be set.
call options.
An AttestationResponse wrapping a PolicyResult. Clients can use the PolicyResult to validate that the policy was actually set by the attestation service.
Attestation Client class.
The AttestationClient class enables access to the Attestation related APIs: