Multi-factor authentication on Amazon Web Services

aws

#1

Is it possible to download from an S3 bucket via a role that requires MFA?

The cloudyr project doesn't seem to support this yet https://github.com/cloudyr/aws.signature/


#2

Have you experimented at all with wrapping the boto3 library in reticulate?

It seems like boto3 might have examples of S3 access with MFA

And several people have been running experiments with running boto3 in R via reticulate:


#3

Thanks @kellobri for the useful links. I've experimented and it seems it won't work because for MFA boto3 requires direct user input via standard tty mechanisms. See here https://github.com/rstudio/reticulate/issues/315.