Closed aitorarjona closed 7 months ago
@JosepSampe please don't merge yet
@JosepSampe ready for review and merge
@JosepSampe Hi Josep, all requests have been implemented. Please we should need this merged ASAP, we switched to an SSO-based account and the current implementation in main does not work well (and also to be ready for the next release #1137 ). Thanks!
My last comments are about the 2 other AWS backend (Batch & EC2).
__init__
of the Lambda backend to the other 2 backends?Closing for now, #1164 partially solves the issue described
Fix for #1107
This pull request adds functionality to retrieve AWS SDK config and credentials from the standard config file (
~/.aws/config
and~/.aws/credentials
) or env vars (more info).Consequently, it deprecates using
aws_access_key_id
andaws_secret_access_key
inaws
Lithops config section.This approach is not only more secure, as we avoid sending secrets to the runtime via payload, but also we support users with SSO-based accounts, which will need configure a profile in their
~/.aws/config
file and retrieve their session credentials dynamically. E.g.:Summary:
config_profile
.Developer's Certificate of Origin 1.1