Creates an instance of the EnvironmentCredential class and reads client secret details from environment variables. If the expected environment variables are not found at this time, the getToken method will return null when invoked.
Options for configuring the client which makes the authentication request.
Authenticates with Azure Active Directory and returns an access token if successful.
The list of scopes for which the token will have access.
Optional parameters. See {@link GetTokenOptions}.
Generated using TypeDoc
Enables authentication to Azure Active Directory using client secret details configured in the following environment variables:
This credential ultimately uses a ClientSecretCredential to perform the authentication using these details. Please consult the documentation of that class for more details.