set_aws_api_key: Set Amazon AWS Key

Description Usage Arguments Value

View source: R/set_aws_api_key.R

Description

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

Usage

1
2
3
4
5
6
7
8
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


muschellij2/neurohcp documentation built on Sept. 18, 2021, 7:19 p.m.