Access existing AWS resources in new application

0

We want to access existing AWS resources that have existing security policies.  We want to move to either OAuth2 or SAML authentication/authorization. We would like to find documentation and examples demonstrating the best practice for accomplishing this access of pre-existing resources using either OAuth2 or SAML. Ideally we are looking for a tutorial covering both the API usage in our application as well as any additional IAM configuration.

Our reading of the documentation suggests that calling AssumeRoleWithWebIdentity() (for OAuth2) requires the addition of a role that maps the federated user space to a specific set of authorization policies for individual resources. Is this the best practice? If so, how does this interact with the existing set of authorization policies, especially when we scale to 10's of thousands of users and millions of resources?

Any pointers would be Most Helpful. Thank you!

1개 답변
0

That's a really big question which has multiple answers depending on actual use cases; which identity provider you're going to use; your multi-account structure; and so on. Not something that I'd like to give specific advice on here because of those variables.

For machine-to-machine authentication this is an excellent resource.

For large-scale user authentication you definitely want to look at best practices for IAM, Single Sign-on as well as Organizations and possibly Control Tower.

I'd strongly encourage you to reach out to your local AWS account team and get advice specific to you from them.

profile pictureAWS
전문가
답변함 2년 전
  • Thank you for your response. The use case is pretty straightforward. I have existing customers (end users) with existing (secured) resources. As I am using OAuth2, we are talking about end users. I need to be able to federate their identity so as to be able to access the existing resources. All the documentation I have seen so far assumes a brand new application with new resources managed by the application. That is not us.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠