To use Microsoft Azure Storage as a board, you'll need an Azure Storage account, an Azure Storage container, and an Azure Storage key. You can sign-up and create those at portal.azure.com.

board_register_azure(
  name = "azure",
  container = Sys.getenv("AZURE_STORAGE_CONTAINER"),
  account = Sys.getenv("AZURE_STORAGE_ACCOUNT"),
  key = Sys.getenv("AZURE_STORAGE_KEY"),
  cache = board_cache_path(),
  path = NULL,
  ...
)

board_azure(
  name = "azure",
  container = Sys.getenv("AZURE_STORAGE_CONTAINER"),
  account = Sys.getenv("AZURE_STORAGE_ACCOUNT"),
  key = Sys.getenv("AZURE_STORAGE_KEY"),
  cache = NULL,
  ...
)

Arguments

name

Board name, used to identify board in actions that affect multiple boards.

container

The name of the Azure Storage container.

account

The name of the Azure Storage account.

key

The access key for the Azure Storage container. You can find this under "Access keys" in your storage account settings.

The key is equivalent to a password, so generally should not be stored in your script. The easiest alternative is to store it in the AZURE_STORAGE_KEY environment variable, which board_azure() will use by default.

cache

The local folder to use as a cache, defaults to board_cache_path().

path

Subdirectory within url

...

Additional parameters stored in the board object.

See also

Examples

if (FALSE) { # the following example requires an Azure Storage key board_register_azure( container = "pinscontainer", account = "pinsstorage", key = "abcabcabcabcabcabcabcabcabcab==" ) }