CSFLE with AWS KMS using AWS_WEB_IDENTITY_TOKEN_FILE

Hello Aleja_Abdala,

Welcome to the MongoDB Community! In the CSFLE AWS tutorial here, under the Grant Permissions section, there are instructions on how to use an IAM role instead of a user, which will support assume roles. It is in the 2nd yellow box titled “Authenticate with IAM Roles in Production”. I hope that helps.

Cynthia