Skip to main content
  1. Posts/

Advanced Identity

·464 words·3 mins

AWS STS (Security Token Service) #

  • Enables creating temporary, limited-privileged credentials to access AWS resources
  • Short-term credentials (you configure the expiration period)
  • Use cases:
    • Identify federation: manage user identities in external systems and provide them STS tokens to access AWS resources
    • IAM Roles for cross / same account access
    • IAM Roles for Amazon EC2: provide temporary credentials for EC2 instances to access AWS resources

Amazon Cognito #

Identity for Web and Mobile application users (potentially millions). #

Instead of creating users in IAM, web users can be created using Cognito

Amazon Cognito for web and mobile applications. It can also integrate with Google and Facebook login.

Directory Services #

Database of objects: User accounts, Computers, Printers, File Shares, Security Groups… #

AWS Directory Services #

  • AWS Managed Microsoft AD
    • Create our own AD in AWS, manage users locally, supports MFA
    • Establish “Trust” connections with on-premise AD
  • AD Connector
    • Directory Gateway (proxy) to redirect to on-premise AD, supports MFA
    • Users are managed on the on-premise AD
  • Simple AD
    • AD-compatible managed directory on AWS
    • Cannot be joined with on-premise AD

AWS IAM Identity Center #

One login (single sign-on) for: #

  • AWS Accounts in AWS Organizations
  • Business cloud application (e.g. Salesforce, Box, Microsoft 365, …)
  • SAML2.0-enabled applications
  • EC2 Windows Instances

Identity providers: #

  • Built-in identity store in IAM Identity Center
  • 3rd party: Active Directory, OneLogin, Okta, …

Summary #

  • IAM
    • Identity and Access Management inside your AWS account
    • For users that you trust and belong to your company
  • Organizations
    • Manage multiple accounts
  • Security Token Service (STS)
    • Temporary, limited-privileges credentials to access AWS resources
  • Cognito
    • Create a database of users for your web and mobile applications
  • Directory Services
    • Integrate Microsoft Active Directory in AWS
  • IAM Identity Center
    • One login for multiple AWS accounts and applications

» References « #

» Table of contents (CLF-C02) « #

1. What is Cloud Computing2. IAM3. Budget
4. EC25. Security Groups6. Storage
7. AMI8. Scalability & High Availability9. Elastic Load Balancing
10. Auto Scaling Group11. S312. Databases
13. Other Compute Services14. Deployments15. AWS Global Infrastructure
16. Cloud Integrations17. Cloud Monitoring18. VPC
19. Security and Compliance20. Machine Learning21. Account Management and Billing
22. Advanced Identity23. Other Services24. AWS Architecting & Ecosystem
25. Preparing for AWS Practitioner exam

» Disclaimer « #

Disclaimer: Content for educational purposes only, no rights reserved.

Most of the content in this series is coming from Stephane Maarek’s Ultimate AWS Certified Cloud Practitioner CLF-C02 2025 course on Udemy.

I highly encourage you to take the Stephane’s courses as they are awesome and really help understanding the subject.

More about Stephane Maarek:

This article is just a summary and has been published to help me learning and passing the practitioner exam.