I am new to AWS.
What I have done :
- created a spring boot rest web service with a few rest api exposed
- checked out the api in aws ec2 instance
- execute the spring boot application
I have enabled required port for communication , thus I am able to access the rest APIs from browser client .
But my AWS services calls are using a secret-key pair for authentication when application context loads up for a given user .
Now I am working on removing the keys based authentication for AWS servies and start using IAM-ROLE-BASED authentication so I dont have to share keys in source code or on ec-2 instance config files.
What I understood from IAM roles , is that I have create an IAM role which will be consumed by rest apis clients for aws services authentication .
what services should I allow in AWS IAM ROLE to be able to call my rest api service ?