- Mastering AWS Security
- Albert Anthony
- 301字
- 2021-07-02 15:44:15
Identity Provider and Federation
As we have seen earlier, we can manage user identities for our IAM users either in AWS or outside of AWS by using IAM identity providers. You can give access to your AWS resources to the user whose identities are managed by AWS or outside of AWS. This functionality supports scenarios where your users are already managed by your organization's identity management system, such as Microsoft Active Directory. It also supports use cases where an application or a mobile app needs to access your AWS resources.
Identity providers help keep your AWS account secure because your credentials are not embedded in your application. To use an identity provider, you will need to create an IAM identity provider entity to establish a trust relationship between your AWS account and the identity provider. AWS supports two types of identity providers:
- OpenID Connect Compatible
- SAML 2.0 Compatible
You can create an identity provider from the IAM dashboard. This creates trust between your AWS account and identity provider. For more information on how to create identity providers, please visit the following URL:
http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create.html
Alternatively, if you have users of a mobile application that need access to your AWS resources, you can use the web identity federation. These users can sign in using the already established and popular identity providers such as Facebook, Amazon, Google, and so on and receive an authorization token. This token can be exchanged for temporary security credentials. These credentials will be mapped to an IAM role that will have permissions to access AWS resources.
AWS, however, recommends that for most scenarios, Amazon Cognito should be used instead of web identity federation as it acts as an identity broker and does much of the federation work for you. We will look at Amazon Cognito in the subsequent chapters.
- 青少年美育趣味課堂:XMind思維導圖制作
- Learning AWS Lumberyard Game Development
- Java面向對象程序開發及實戰
- Web全棧工程師的自我修養
- C語言程序設計
- Monitoring Elasticsearch
- 網店設計看這本就夠了
- Visual C++開發入行真功夫
- 微信小程序開發與實戰(微課版)
- 時空數據建模及其應用
- Spring MVC+MyBatis開發從入門到項目實踐(超值版)
- Android Sensor Programming By Example
- Python+Office:輕松實現Python辦公自動化
- Learning Concurrency in Python
- Node.js 6.x Blueprints