Closed rabernat closed 6 months ago
Following up on this a bit...
It looks like it would be sufficient to just leave our / set to None aws_access_key_id
and aws_secret_access_key
in these lines. boto3 will automatically detect credentials in the correct way.
So simply removing this check should fix my issue:
Make sense, there was a WIP in https://github.com/lithops-cloud/lithops/pull/1114 but it wasn't finished. I will check it
@rabernat I add this patch that includes the required changes for this, and a necessary step to allow this. Feel free to try it out and provide feedback
It works!
Thanks for your work on this great library! For context, I collaborate with @tomwhite on cubed which targets Lithops as an execution engine.
I am trying to get Lithops running on AWS lambda, and I'm puzzled by the requirement that AWS access key and secret have to be hard coded into a config file. This feels counter to best practices for AWS authentication. In general, it would be nice to have the same authentication precedence options as in the AWS CLI.
In particular, I would like to
AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
environment variablesIs something like this on the roadmap?