Create a container (azureActiveContext
) for holding variables used by the AzureSMR
package. If tenantID
, clientID
and authKey
are provided, attempts to authenticate the session against Azure.
createAzureContext(tenantID, clientID, authKey, configFile)
The tenant ID provided during creation of the Active Directory application / service principal
The client ID provided during creation of the Active Directory application / service principal
The authentication key provided during creation of the Active Directory application / service principal
An azureActiveContext
object
See the Azure documentation (https://azure.microsoft.com/en-us/documentation/articles/resource-group-create-service-principal-portal/) for information to configure an Active Directory application.
setAzureContext()
, azureAuthenticate()
, [read.AzureSMR.config)]
[read.AzureSMR.config)]: R:read.AzureSMR.config)
Other azureActiveContext functions: setAzureContext