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
Chelsea Troy edited this page Jan 4, 2022
·
2 revisions
An error occurred (ExpiredTokenException) when calling the PutRecord operation: The security token included in the request is expired
Here's what I do:
source <(maws -o awscli) writes credentials to ~/.aws/credentials
In PyCharm, set an environment variable AWS_PROFILE to the corresponding name that you can find in your credentials file. You can set it in .env or in Run Configurations.