This function configures the current R session to use an AWS profile that has been configured via AWS CLI v2.
setup_aws_access(profile_name, region = "ap-southeast-2")Users must authenticate beforehand using:
aws sso login –profile <profile_name>
if (FALSE) { # \dontrun{
awslogin
setup_sso_access(
profile_name = "my_profile"
)
} # }