Gitlab Runner Shell Executor on AWS EC2

I’ve created an EC2 instance on Amazon and registered a Gitlab runner with a shell executor for my repository. How do I access my AWS credentials on the shell executor? I want to do this because my CI/CD pipeline requires that I download files from S3.

For clarification, my AWS credentials are stored on the Amazon EC2 instance. However, the shell executor does not have this credentials file available.

Any help would be appreciated