2017-05-23 03:22:40 +03:00
|
|
|
% Generated by roxygen2: do not edit by hand
|
2017-11-17 10:18:09 +03:00
|
|
|
% Please edit documentation in R/credentials.R
|
2017-05-23 03:22:40 +03:00
|
|
|
\name{generateCredentialsConfig}
|
|
|
|
\alias{generateCredentialsConfig}
|
|
|
|
\title{Creates a credentials file for rAzureBatch package authentication}
|
|
|
|
\usage{
|
2018-04-28 03:43:06 +03:00
|
|
|
generateCredentialsConfig(fileName, authenticationType = "SharedKey", ...)
|
2017-05-23 03:22:40 +03:00
|
|
|
}
|
|
|
|
\arguments{
|
|
|
|
\item{fileName}{Credentials file name}
|
|
|
|
|
2018-04-28 03:43:06 +03:00
|
|
|
\item{authenticationType}{The type of authentication for Azure: SharedKey, ServicePrincipal}
|
|
|
|
|
2017-05-23 03:22:40 +03:00
|
|
|
\item{...}{Further named parameters
|
|
|
|
\itemize{
|
2017-09-07 23:06:21 +03:00
|
|
|
\item{"batchAccount"}: {Batch account name for Batch Service authentication.}
|
|
|
|
\item{"batchKey"}: {Batch account key for signing REST signatures.}
|
|
|
|
\item{"batchUrl"}: {Batch service url for account.}
|
|
|
|
\item{"storageAccount"}: {Storage account for storing output results.}
|
|
|
|
\item{"storageKey"}: {Storage account key for storage service authentication.}
|
2018-04-28 03:43:06 +03:00
|
|
|
\item{"storageEndpointSuffix"}: {Values: core.windows.net,
|
|
|
|
core.chinacloudapi.cn, core.cloudapi.de, core.usgovcloudapi.net }
|
2018-01-19 00:52:42 +03:00
|
|
|
\item{"githubAuthenticationToken"}: {GitHub authentication token for pulling R
|
|
|
|
packages from private GitHub repositories}
|
|
|
|
\item{"dockerAuthentication"}: {Docker authentication for pulling Docker images
|
|
|
|
from private Docker registries}
|
|
|
|
\item{"dockerUsername"}: {Username to docker registry}
|
|
|
|
\item{"dockerPassword"}: {Password to docker registry}
|
|
|
|
\item{"dockerRegistry"}: {URL to docker registry}
|
|
|
|
|
2017-05-23 03:22:40 +03:00
|
|
|
}}
|
|
|
|
}
|
|
|
|
\value{
|
|
|
|
The request to the Batch service was successful.
|
|
|
|
}
|
|
|
|
\description{
|
|
|
|
Creates a credentials file for rAzureBatch package authentication
|
|
|
|
}
|
|
|
|
\examples{
|
|
|
|
{
|
|
|
|
generateCredentialsConfig("test_config.json")
|
2017-06-14 04:04:08 +03:00
|
|
|
generateCredentialsConfig("test_config.json", batchAccount = "testbatchaccount",
|
|
|
|
batchKey = "test_batch_account_key", batchUrl = "http://testbatchaccount.azure.com",
|
2018-04-28 03:43:06 +03:00
|
|
|
storageAccount = "teststorageaccount", storageKey = "test_storage_account_key",
|
|
|
|
storageEndpointSuffix = "core.windows.net")
|
2017-05-23 03:22:40 +03:00
|
|
|
}
|
|
|
|
}
|