<aside>
💻 Building Serverless .NET APIs using AWS Lambda, Amazon API Gateway, and Amazon Cognito
</aside>
Cognito
- User pool - Directory of users, and acts as an Identity Server
- Identity pool - Used to grant access to AWS services
Cognito user pool features
- Manage users & groups
- Sign-up, sign-in, forgot password, and other common functionality
- AWS managed, no custom database required
- Serverless and very cheap
- Identity federation with Google, Facebook, SAML, and OpenID providers
- Multi factor authentication
- Can be used to secure APIs
- Complete Identity Server
- Provides SDK & UI components for all popular programming languages
- Hosted UI
- Similar services - Azure AD B2C, Auth0, Okta, .NET Identity Server, etc.

API Gateway Security
API Gateway APIs can be secured in 3 ways: