def METHOD_NAME(self):
    """
    Instantiate an attestation client using client secrets.
    """
    write_banner("create_attestation_client_aad")
    # [START client_create]
    # Create azure-identity class
    from azure.identity import DefaultAzureCredential
    from azure.security.attestation import AttestationClient
    # And now create an AttestationClient.
    with AttestationClient(self.aad_url, DefaultAzureCredential()) as client:
        print("Retrieve OpenID metadata from: ", self.aad_url)
        openid_metadata = client.get_open_id_metadata()
        print(" Certificate URI: ", openid_metadata["jwks_uri"])
        print(" Issuer: ", openid_metadata["issuer"])
    # [END client_create]