Skip to content

Conversation

@dgouyette-predictice
Copy link

…n role instead of user role)

@dgouyette-predictice
Copy link
Author

dgouyette-predictice commented Apr 4, 2022

i use scrappy-dotpersistence with scrappy-deltafetch to store result on aws S3.
The code run in a lambda. For now i had to provide my personnal credential to make it works. 🥴
I investigated, and lambda use default credentials, and it say, user doesn't exists.
It's because AWS lambda use execution role
When you make a call using temporary security credentials, the call must include a session token, which is returned along with those temporary credentials. AWS uses the session token to validate the temporary security credentials.
see https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant