You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am finding myself having to 'translate' the credentials dict returned from
earthaccess.get_s3_credentials
quite frequently, e.g. for{'key': creds['accessKeyId'], 'secret':creds['secretAccessKey'], 'token':creds['sessionToken']}
{ "access_key_id": creds['accessKeyId'], "secret_access_key": creds['secretAccessKey'], "token": creds['sessionToken'], "expires_at": dt.datetime.fromisoformat(creds['expiration']), }
icechunk.s3_static_credentials( access_key_id=creds['accessKeyId'], secret_access_key=creds['secretAccessKey'], expires_after=dt.datetime.fromisoformat(creds['expiration']), session_token=creds['sessionToken'] )
As a convenience solution I wonder if we could implement an option like this:
Beta Was this translation helpful? Give feedback.
All reactions