Error: “The security token included in the request is invalid" for AWS inventory

  • Updated

Environment Details

After integrating AWS, you see the following error for resources on the inventory page:

Could not fetch [Resource] for region "[Region]" for account "xxxxxxxxxxxx": InvalidClientTokenId: The security token included in the request is invalid

 

AWSregionerror.png

Cause

You have selected an AWS region to be scanned in Vanta, but this region is not enabled in AWS.

Resolution

  • Sign in to the AWS console
  • Select the region selector from the top right:AWSregion.png

 

  • Ensure that the regions that are not enabled in AWS are not selected in Vanta. To do this, navigate to the integrations page in Vanta and select "Manage" for AWS. Select an account to edit the region selection for:ManagedEditAWS.png

 

  • Ensure that the regions selected in Vanta are enabled in AWS:

AWSregionselectionvanta.png

  • Click "Done" to update the regions