Replies: 2 comments
-
|
Looks like the rust-s3 crate does support the ~/.aws/credentials. I was just reading in our from_env(). Let me make these changes and kick a new RC for you to test! |
Beta Was this translation helpful? Give feedback.
-
|
This has been resolved! Here's a summary of what was done: FixThe backend was hardcoding a check for
PRs
Tracking
Both PRs are merged. The fix is available on |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
If the environment variables
AWS_ACCESS_KEY_IDorAWS_SECRET_ACCESS_KEYare not set, the endpoint/api/v1/admin/backups?per_page=100throws:Request error error=Configuration error: Failed to load AWS credentials: Neither AWS_ACCESS_KEY_ID, nor AWS_ACCESS_KEY_ID exists in the environment code="CONFIG_ERROR"However e.g. by using instance-roles on EC2, those environment variables are not needed. The AWS SDK will automatically use temporary credentials if an instance role is present. The AWS SDK should also enable the usage of Kubernetes IAM roles for service accounts.
I think it would be great if the authentication mechanism the AWS SDK offers could be used.
Beta Was this translation helpful? Give feedback.
All reactions