The aws configure command only requests for the Access Key Id and secret access key. To solve the issue open the credentials file, located at C:\Users\YOURUSER.aws then add aws_session_token=YOUR TOKEN to the credentials file under default. This should solve the issue