Open harsh-agarwal-93 opened 1 month ago
Hello @harsh-agarwal-93,
Thank you for your interest in Amazon S3 Connector for PyTorch. The issue you're facing seems to be related to the one reported at https://github.com/awslabs/mountpoint-s3/issues/675. In that case, setting the AWS_DEFAULT_REGION
environment variable helped resolve the problem. You could try the same approach and set the AWS_DEFAULT_REGION
environment variable to the appropriate AWS region for your use case. If this solution doesn't work for you, kindly inform us, and we'll explore further alternatives.
Tell us more about this new feature.
I'm working in a Kubernetes/Kubflow environment deployed on EC2 with S3 credentials set up using role_arn with web_identity_token_file and keep receiving the
S3Exception: Client error: No signing credentials found
error. I wanted to know if the connector works with these credentials.I reviewed this closed issue which led me here which led me here. Using this information I set up my
~/.aws/config
to match and created an environment variableAWS_PROFILE
set to "web-identity" to use the profile by default. This did not work for the connector (v1.2.3) but boto3 did not have any issues with the same setup. The example code used for testing is listed below.