azureAuthenticate: Authenticates against Azure Active directory application.

Description Usage Arguments Value Note References See Also

View source: R/AzureAuthenticate.R

Description

Authenticates against Azure Active directory application.

Usage

1
2
3
4
5
6
7
8
9
azureAuthenticate(
  azureActiveContext,
  tenantID,
  clientID,
  authKey,
  authType = "ClientCredential",
  resource = "https://management.azure.com/",
  verbose = FALSE
)

Arguments

azureActiveContext

A container used for caching variables used by 'AzureSMR', created by [createAzureContext()]

tenantID

The tenant ID provided during creation of the Active Directory application / service principal

clientID

The client ID provided during creation of the Active Directory application / service principal

authKey

The authentication key provided during creation of the Active Directory application / service principal

authType

Auth type for getting token: "ClientCredential", "DeviceCode"

resource

URL of azure management portal

verbose

If TRUE, prints verbose messages

Value

If successful, returns TRUE

Note

See https://azure.microsoft.com/en-us/documentation/articles/resource-group-create-service-principal-portal/ for instructions to set up an Active Directory application

References

https://azure.microsoft.com/en-us/documentation/articles/resource-group-create-service-principal-portal/

See Also

Other Azure resource functions: adlFileInputStreamCheck(), adlFileOutputStreamCheck(), azureAuthenticateOnAuthType(), azureCheckToken(), azureGetTokenClientCredential(), azureGetTokenDeviceCodeFetch(), azureGetTokenDeviceCode(), azureGetTokenRefreshToken(), showDeviceCodeMessageToUser()


CharlesCara/AzureSMRLite documentation built on March 10, 2020, 11:52 p.m.