Learn R Programming

AzureSMR (version 0.2.6)

createAzureContext: Create an Azure Context.

Description

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.

Usage

createAzureContext(tenantID, clientID, authKey, configFile)

Arguments

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

Value

An azureActiveContext object

Details

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.

See Also

setAzureContext(), azureAuthenticate(), [read.AzureSMR.config)]

[read.AzureSMR.config)]: R:read.AzureSMR.config)

Other azureActiveContext functions: setAzureContext