aws.s3 icon indicating copy to clipboard operation
aws.s3 copied to clipboard

S3 connection timeout due to expiring SSO AWS keys

Open f-tonini opened this issue 5 months ago • 1 comments

Due to our enterprise setup with AWS, we have SSO keys that rotate every 8 hours for security reasons. This means that anytime our users pass those keys into the R Set.env() connection file to S3, their connection will fail after 8 hours. We tried the aws.ec2metadata as per package online help but did not resolve the issue. We should be able to access an S3 bucket without using credentials, given that we created a role for Sagemaker and applied it to the instance to authorize automatically. This seems to only happen on the R side, and our python users on Sagemaker Studio are not experiencing this issue.

f-tonini avatar Jul 30 '25 15:07 f-tonini

@f-tonini is this possibly a duplicate of #430 ? Please check the solution there to see if it helps in your case.

s-u avatar Jul 30 '25 22:07 s-u