Learn R Programming

aws.alexa (version 0.1.8)

set_secret_key: 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

Run this code
# NOT RUN {
set_secret_key(key = "key", secret = "secret")
# }

Run the code above in your browser using DataLab