set_aws_api_key {neurohcp}R Documentation

Set Amazon AWS Key

Description

Sets and returns the AWS keys. This will error if not all are specified.

Usage

set_aws_api_key(
  access_key = NULL,
  secret_key = NULL,
  default_region = "us-east-1",
  error = TRUE
)

have_aws_key()

Arguments

access_key

Amazon access key. If NULL then looks at the AWS_ACCESS_KEY_ID system variable.

secret_key

Amazon secret key. If NULL then looks at the AWS_SECRET_ACCESS_KEY system variable.

default_region

Amazon default region. If NULL then looks at the AWS_DEFAULT_REGION system variable.

error

Should this function error if things are not specified?

Value

List of access_key, secret_key, and default_region


[Package neurohcp version 0.9.0 Index]