Multi-factor authentication on Amazon Web Services

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

1 Like

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:


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