-
Notifications
You must be signed in to change notification settings - Fork 10
Troubleshooting
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.