set_secret_key: Set up Key and Secret

View source: R/set_secret_key.R

set_secret_keyR Documentation

Set up Key and Secret

Description

Get the Access Key ID and Secret Access Key by logging into https://console.aws.amazon.com/, clicking on the username followed by security credentials. The function sets two environmental variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY. These environment variables persist within a R session. The function looks for these variables

Usage

set_secret_key(key = NULL, secret = NULL, force = FALSE)

Arguments

key

String; Required; Access Key ID

secret

String; Required; Secret Access Key

force

String; Required; Force change the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY stored in the environment

References

https://aws.amazon.com/

Examples

## Not run: 
set_secret_key(key = "key", secret = "secret")

## End(Not run)

cloudyr/aws.alexa documentation built on June 2, 2022, 7:17 p.m.