S3 client does not use default chain? #9595
Unanswered
JohnPreston
asked this question in
Troubleshooting
Replies: 1 comment 2 replies
-
It should be possible via IRSA, but I think would need to be implemented for the credentials file |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
I am not running my LibreChat on K8s/EKS, yet I have provided the env var
AWS_SHARED_CREDENTIALS_FILE
which feeds the credentials.All SDKs would normally pick up on that as per the Credentials Provider Chain.
We should not be forced to give the access and secret keys, especially when using IAM roles which would have assumed creds, which require to also include the secret token.
Version Information
ghcr.io/danny-avila/librechat latest fdaddca5d75c 2 weeks ago 1.57GB
Steps to Reproduce
in the compose file, have a path to a valid aws credentials/profile config file. Expose it via env var.
See https://docs.aws.amazon.com/cli/latest/topic/config-vars.html#the-shared-credentials-file
What browsers are you seeing the problem on?
Firefox
Relevant log output
librechat-1 | 2025-09-12 09:23:55 info: [initializeS3] S3 initialized using default credentials (IRSA). It did not detect that we are not using IRSA
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions