generateCredentialsConfig: Creates a credentials file for rAzureBatch package...

Description Usage Arguments Value Examples

View source: R/credentials.R

Description

Creates a credentials file for rAzureBatch package authentication

Usage

1
generateCredentialsConfig(fileName, authenticationType = "SharedKey", ...)

Arguments

fileName

Credentials file name

authenticationType

The type of authentication for Azure: SharedKey, ServicePrincipal

...

Further named parameters

  • "batchAccount": Batch account name for Batch Service authentication.

  • "batchKey": Batch account key for signing REST signatures.

  • "batchUrl": Batch service url for account.

  • "storageAccount": Storage account for storing output results.

  • "storageKey": Storage account key for storage service authentication.

  • "storageEndpointSuffix": Values: core.windows.net, core.chinacloudapi.cn, core.cloudapi.de, core.usgovcloudapi.net

  • "githubAuthenticationToken": GitHub authentication token for pulling R packages from private GitHub repositories

  • "dockerAuthentication": Docker authentication for pulling Docker images from private Docker registries

  • "dockerUsername": Username to docker registry

  • "dockerPassword": Password to docker registry

  • "dockerRegistry": URL to docker registry

Value

The request to the Batch service was successful.

Examples

1
2
3
4
5
6
7
{
generateCredentialsConfig("test_config.json")
generateCredentialsConfig("test_config.json", batchAccount = "testbatchaccount",
   batchKey = "test_batch_account_key", batchUrl = "http://testbatchaccount.azure.com",
   storageAccount = "teststorageaccount", storageKey = "test_storage_account_key",
   storageEndpointSuffix = "core.windows.net")
}

Azure/doAzureParallel documentation built on May 22, 2021, 4:39 a.m.