Class AzureKeyCredentialPolicy

  • All Implemented Interfaces:
    HttpPipelinePolicy

    public final class AzureKeyCredentialPolicy
    extends Object
    implements HttpPipelinePolicy
    Pipeline policy that uses an AzureKeyCredential to set the authorization key for a request.

    Requests sent with this pipeline policy are required to use HTTPS. If the request isn't using HTTPS an exception will be thrown to prevent leaking the key.