You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now I place these into R and try and run the command:
Sys.setenv("AWS_ACCESS_KEY_ID" = "myKey",
"AWS_SECRET_ACCESS_KEY" = "mysecretkey",
"AWS_DEFAULT_REGION" = "us-east-1",
"AWS_SESSION_TOKEN" = "mytoken")
library("aws.lambda")
# get list of all current functions
funclist <- sapply(list_functions(), get_function_name)
I get an error trying to run
funclist <- sapply(list_functions(), get_function_name)
I downloaded and isntalled the Amazon Command Line Interface, configured it and requested a session token:
aws sts get-session-token --duration-seconds 129600
This returns:
Now I place these into
R
and try and run the command:It looks like The security token is invalid. How do I get a valid token?
The text was updated successfully, but these errors were encountered: