Question

How can I use the role feature to access the AWS API in an application? How can I implement this use case?

I am able to fetch the credentials by launching an ec2 role based instance.

Any help is appreciated

Thanks in advance.

Was it helpful?

Solution

IAM Rules are used to manage access to AWS services and resources. It is not meant to be used as an applicative authorization engine. From the documentation:

AWS Identity and Access Management (IAM) enables you to securely control access to AWS services and resources for your users. Using IAM, you can create and manage AWS users and groups and use permissions to allow and deny their access to AWS resources.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top