I have multiple ASP .NET websites running on an AWS Linux 2024 EC2 instance and I want to use AWS Cognito for authentication. In production I believe I will need to create an IAM Role to allow access to Cognito and assign it to the EC2 instance. But first I am trying to get this working locally and I am not sure how to proceed with using an IAM Role in my local development environment.