SlideShare a Scribd company logo
1 of 41
Download to read offline
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Q u i n t V a n D e m a n
B u s i n e s s D e v e l o p m e n t M a n a g e r ,
I d e n t i t y & D i r e c t o r y S e r v i c e s
S I D 3 4 4
Soup to Nuts: Identity Federation for AWS
November 27, 2017
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Build consistent
vernacular and mental
model
Tour the major
federation bridges
across AWS
Fun and lively session
with demos
Links to key content
and patterns
What to expect
(C) Copyright Jean-Remy Duboc and licensed for reuse
under the Creative Commons Attribution-Generic 2.0
License
By Adam.J.W.C. (Own work) [CC BY 3.0
(http://creativecommons.org/licenses/by/3.0], via
Wikimedia Commons
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Building a consistent vernacular and
mental model
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What do we mean when we say
“federation”?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
I d e n t i t y c o n s u m e r sI d e n t i t y p r o v i d e r s
Definition (for today)
Stores
identities
Authentication Authorization
(Coarse)
Authorization
(Fine)
Trust
Stores
references
Protocols
No Sync
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Rationale
Users Security Compliance
Before
After
Unique credentials
1:Many reuse
Credentials everywhere
Centrally managed
Bespoke
Unified
Result
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Understanding planes of access
Amazon EC2
Control plane—AWS API
(e.g. ec2:StartInstance)
Data plane—Amazon VPC
connection (e.g., SSH, RDP)
Different:
• Paths
• Credentials
• Protocols
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Understanding planes of access
Amazon
DynamoDB
Control plane—AWS API
(e.g. dynamodb:CreateTable)
Data plane—AWS API
(e.g. dynamodb:GetItem)
Same:
• Path
• Credential
• Protocol
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Mental model
Evaluation SelectionUse cases Blueprints
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Bridge #1: Security assertion markup
language (SAML)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SAML primer
Service provider
(SP)
Metadata (in advance)
Assertion
Identity provider
(IdP)
AuthN &
AuthZ
User
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SAML federation
SAML
Internal
AD
SAML IdP
Amazon Cognito
Console API CLI Data plane APIs
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SAML federation
Demonstrations
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SAML demo review
Amazon S3
permissions
Many AWS accounts
Custom
durations
MFA for
SAML
http://bit.ly/2dBXMUq
SAML federation for the
AWS Management Console,
APIs, and CLI
Self-paced
workshop materials
(all this and much more)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SAML demo review
SAML federation for an Amazon Cognito-
enabled web application and custom API
(using Amazon API Gateway)
Amazon Cognito documentation
(includes sample code)
http://amzn.to/2wSH4IC
CloudFront Amazon S3 SPA
Amazon Cognito
Amazon Cognito
SAML IdP Assertion
Tokens API Gateway
(Chalice)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SAML federation
SAML
Internal
AD
SAML IdP
Amazon Cognito
Console API CLI Data plane APIs
Amazon
Redshift
Amazon RDS
(Aurora, MySQL)
Amazon
QuickSight
Amazon
AppStream
SaaS Apps (Outside AWS)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Bridge #2: OpenID Connect (OIDC)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
OIDC primer
Relying Party
(RP)
Metadata & Registration (in advance)
Tokens
OpenID provider
(OP)
User
AuthN &
AuthZ
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
OIDC federation
SAML
OIDC
OIDCExternal
Internal
AD
OIDC OP
SAML IdP
Amazon Cognito
Amazon
Redshift
Amazon RDS
(Aurora, MySQL)
Amazon
QuickSight
Amazon
AppStream
Apps
Data plane APIs
SaaS Apps (Outside AWS)
Console API CLI
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
OIDC federation
Demonstrations
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
OIDC demo review
OIDC federation for an Amazon Cognito-
enabled web app and custom API (using
Amazon API Gateway)
Amazon Cognito documentation
(includes sample code)
CloudFront Amazon S3 SPA
Amazon Cognito
Amazon Cognito
OP
Tokens API Gateway
(Chalice)
Tokens http://amzn.to/2wSH4IC
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
OIDC demo review
OIDC federation for an Amazon Cognito-
enabled backend application and external API
Amazon Cognito documentation
Cognito Tokens
Systems Manager
Parameter Store
External API
http://amzn.to/2grl7NV
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Cognito: Related session
For even more details and demonstrations, check out:
SID332 11/30/17 (Thursday) 1:45 PM—MGM, Level 3, Premiere Ballroom 314
Identity Management for Your Users and Apps:
A Deep Dive on Amazon Cognito
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Bridge #3: Active Directory trust
with Kerberos
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AD trust/Kerberos primer
On-premises
Active Directory
Domain Controller
AWS Directory Service
For Microsoft Active Directory
Kerberos-enabled
resource
AD Forest Trust Domain Join
User Group
Add group membership
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AD trust
SAML
OIDC
OIDC
AD Trust
External
Internal
AD
OIDC OP
SAML IdP
Amazon Cognito
Amazon
Redshift
Amazon RDS
(Aurora, MySQL)
Amazon
QuickSight
Amazon
AppStream
Apps
Data plane APIs
Windows/
Amazon EC2
Amazon
WorkSpaces
Amazon RDS
(SQL Server)
Amazon
WorkDocs
Amazon
WorkMail
SaaS Apps (Outside AWS)
Console API CLI
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AD trust: Related sessions
For demonstrations, check out these related sessions:
WIN311 11/28/17 (Tuesday) 1:00 PM—MGM, Level 3, Premiere 301
Unified Access Management with AWS Managed Services for Microsoft
Active Directory
WIN403 11/30/17 (Thursday) 3:15 PM—MGM, Level 1, Grand Ballroom 113
AWS Directory Service for Microsoft Active Directory Deep Dive
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AD trust details for Windows/Amazon EC2
Use on-premises AD identities for
authentication and authorization in
Windows/Amazon EC2
AWS Directory Service documentation
On-premises
Active Directory
Domain Controller
AWS Directory Service
For Microsoft Active Directory
Domain joined
Windows Amazon
EC2 instance
AD Forest Trust Domain Join
User Group
Add group membership
http://amzn.to/2ysq4Ns
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AD trust details for Amazon WorkSpaces
Use on-premises AD identities to
provision and access Amazon WorkSpaces
Amazon WorkSpaces
documentation
On-premises
Active Directory
Domain Controller
AWS Directory Service
For Microsoft Active Directory
AD Forest Trust
User Admin
Search &
Provision
Domain Join
Login
(AuthN & AuthZ)
http://amzn.to/2x6IcZB
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Bridge #4: AWS cross-account (XA)
trust
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS XA trust primer
Target AWS account
IAM Role
Permission Policy:
Controls access to
AWS services & resources
Trust Policy:
Specifies the Principals who
can assume the role, and a
shared secret (external id)
Source AWS account
IAM Role
IAM User
Permission Policy:
Allows sts:AssumeRole
to remote role (in
target)
sts:AssumeRole
Short-term credential
Invoke AWS APIs
Access Mgmt Console
(You) (External entity)(or vice versa)
Note: AWS XA trusts also support many other use cases
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cross-account trust
Cross-
account
trust
Amazon Cognito
Amazon
Redshift
Amazon RDS
(Aurora, MySQL)
Amazon
QuickSight
Amazon
AppStream
Data plane APIs
Windows/
Amazon EC2
Amazon
WorkSpaces
Amazon RDS
(SQL Server)
Amazon
WorkDocs
Amazon
WorkMail
SaaS Apps (Outside AWS)
Console API CLI
External
Apps
AWS
Credential
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cross-account trust details
Use AWS credentials from one account
to federate into another account
IAM documentation
aws sts assume-role --role-arn arn:aws:iam::012345678912:role/RoleName 
--role-session-name use_traceable_name --external-id mysharedsecret
{
"AssumedRoleUser": {
"AssumedRoleId": "XXXXXXXXXXXXXXXXXXXXX:use_traceable_name",
"Arn": “<roleARN>/use_traceable_name"
},
"Credentials": {
"SecretAccessKey": "ssssssssssssssssssssssssssssssssssssssss",
"SessionToken": "ttttttttttttttttttttttttttttttttttttttttttt",
"Expiration": "2017-10-19T00:01:38Z",
"AccessKeyId": "aaaaaaaaaaaaaaaaaaaaaaa"
}
}
http://amzn.to/2zzwE2n
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Bridge #5: Custom federation broker
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Custom federation broker primer
Broker
Credential
User
Entitlements and
policies
sts:AssumeRole (or)
sts:GetFederationToken
Scoping policy
Short-term credential
authN & authZ
Note: mostly a legacy mechanism
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Custom broker
Cross-
account
trust
Custom
Amazon Cognito
Amazon
Redshift
Amazon RDS
(Aurora, MySQL)
Amazon
QuickSight
Amazon
AppStream
Data plane APIs
SaaS Apps (Outside AWS)
Console API CLI
External
Apps
BrokerCredential
AWS Cred
Windows/
Amazon EC2
Amazon
WorkSpaces
Amazon RDS
(SQL Server)
Amazon
WorkDocs
Amazon
WorkMail
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Wrap-up
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Summary
SAML
OIDC
AD Trust
XA Trust
Custom
Many bridges, for different:
• Planes of access
• Protocols
• Source credentials
Remember our mental model:
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Remaining white space
CC0 Public Domain - Free for commercial use
http://maxpixel.freegreatpicture.com/Shadow-White-Space-Renovate-Blank-Renovated-Light-763247
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Other helpful links
• SAML:
• Amazon Redshift—http://amzn.to/2yxWX98
• Amazon RDS, MySQL, and Amazon Aurora—http://amzn.to/2gjBDvP
• Amazon AppStream 2.0—http://amzn.to/2gkU17q
• Amazon QuickSight—http://amzn.to/2xPfyf3
• OIDC:
• Amazon Cognito Federated Identities—http://amzn.to/2gl3yvp
• sts:AssumeRoleWithWebIdentity—http://amzn.to/2yTcOCr
• AD trust:
• Amazon RDS SQL Server—http://amzn.to/2glehop
• WorkDocs—http://amzn.to/2x6CNBz
• WorkMail—http://amzn.to/2kZFxyZ
• AWS IAM cross-account trust—http://amzn.to/2kZvRon
• Custom federation broker—http://amzn.to/2yyqzov
• Chalice (Python serverless framework for AWS)—https://github.com/aws/chalice
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank you!

More Related Content

What's hot

FSV305-Optimizing Payments Collections with Containers and Machine Learning
FSV305-Optimizing Payments Collections with Containers and Machine LearningFSV305-Optimizing Payments Collections with Containers and Machine Learning
FSV305-Optimizing Payments Collections with Containers and Machine LearningAmazon Web Services
 
DAT309_Best Practices for Migrating from Oracle and SQL Server to Amazon RDS
DAT309_Best Practices for Migrating from Oracle and SQL Server to Amazon RDSDAT309_Best Practices for Migrating from Oracle and SQL Server to Amazon RDS
DAT309_Best Practices for Migrating from Oracle and SQL Server to Amazon RDSAmazon Web Services
 
ALX401-Advanced Alexa Skill Building Conversation and Memory
ALX401-Advanced Alexa Skill Building Conversation and MemoryALX401-Advanced Alexa Skill Building Conversation and Memory
ALX401-Advanced Alexa Skill Building Conversation and MemoryAmazon Web Services
 
SID301_Using AWS Lambda as a Security Team
SID301_Using AWS Lambda as a Security TeamSID301_Using AWS Lambda as a Security Team
SID301_Using AWS Lambda as a Security TeamAmazon Web Services
 
Deploying Business Analytics at Enterprise Scale - AWS Online Tech Talks
Deploying Business Analytics at Enterprise Scale - AWS Online Tech TalksDeploying Business Analytics at Enterprise Scale - AWS Online Tech Talks
Deploying Business Analytics at Enterprise Scale - AWS Online Tech TalksAmazon Web Services
 
WIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdf
WIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdfWIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdf
WIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdfAmazon Web Services
 
GAM310_Build a Telemetry and Analytics Pipeline for Game Balancing
GAM310_Build a Telemetry and Analytics Pipeline for Game BalancingGAM310_Build a Telemetry and Analytics Pipeline for Game Balancing
GAM310_Build a Telemetry and Analytics Pipeline for Game BalancingAmazon Web Services
 
Soup to Nuts: Identity Federation for AWS
Soup to Nuts: Identity Federation for AWSSoup to Nuts: Identity Federation for AWS
Soup to Nuts: Identity Federation for AWSAmazon Web Services
 
WIN401_Migrating Microsoft Applications to AWS
WIN401_Migrating Microsoft Applications to AWSWIN401_Migrating Microsoft Applications to AWS
WIN401_Migrating Microsoft Applications to AWSAmazon Web Services
 
GAM301-Migrating the League of Legends Platform into AWS Cloud.pdf
GAM301-Migrating the League of Legends Platform into AWS Cloud.pdfGAM301-Migrating the League of Legends Platform into AWS Cloud.pdf
GAM301-Migrating the League of Legends Platform into AWS Cloud.pdfAmazon Web Services
 
DVC303-Technological Accelerants for Organizational Transformation
DVC303-Technological Accelerants for Organizational TransformationDVC303-Technological Accelerants for Organizational Transformation
DVC303-Technological Accelerants for Organizational TransformationAmazon Web Services
 
WPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdf
WPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdfWPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdf
WPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdfAmazon Web Services
 
An Introduction to AI Services on AWS - Web Summit Lisbon
An Introduction to AI Services on AWS -  Web Summit LisbonAn Introduction to AI Services on AWS -  Web Summit Lisbon
An Introduction to AI Services on AWS - Web Summit LisbonBoaz Ziniman
 
Design, Build, and Modernize Your Web Applications with AWS
 Design, Build, and Modernize Your Web Applications with AWS Design, Build, and Modernize Your Web Applications with AWS
Design, Build, and Modernize Your Web Applications with AWSDonnie Prakoso
 
More Containers Less Operations
More Containers Less OperationsMore Containers Less Operations
More Containers Less OperationsDonnie Prakoso
 
SID201_IAM for Enterprises How Vanguard strikes the Balance Between Agility, ...
SID201_IAM for Enterprises How Vanguard strikes the Balance Between Agility, ...SID201_IAM for Enterprises How Vanguard strikes the Balance Between Agility, ...
SID201_IAM for Enterprises How Vanguard strikes the Balance Between Agility, ...Amazon Web Services
 
LFS301-SAGE Bionetworks, Digital Mammography DREAM Challenge and How AWS Enab...
LFS301-SAGE Bionetworks, Digital Mammography DREAM Challenge and How AWS Enab...LFS301-SAGE Bionetworks, Digital Mammography DREAM Challenge and How AWS Enab...
LFS301-SAGE Bionetworks, Digital Mammography DREAM Challenge and How AWS Enab...Amazon Web Services
 
How Nextdoor Built a Scalable, Serverless Data Pipeline for Billions of Event...
How Nextdoor Built a Scalable, Serverless Data Pipeline for Billions of Event...How Nextdoor Built a Scalable, Serverless Data Pipeline for Billions of Event...
How Nextdoor Built a Scalable, Serverless Data Pipeline for Billions of Event...Amazon Web Services
 
SRV334-Making Things Right with AWS Config Rules and AWS Lambda
SRV334-Making Things Right with AWS Config Rules and AWS LambdaSRV334-Making Things Right with AWS Config Rules and AWS Lambda
SRV334-Making Things Right with AWS Config Rules and AWS LambdaAmazon Web Services
 

What's hot (20)

FSV305-Optimizing Payments Collections with Containers and Machine Learning
FSV305-Optimizing Payments Collections with Containers and Machine LearningFSV305-Optimizing Payments Collections with Containers and Machine Learning
FSV305-Optimizing Payments Collections with Containers and Machine Learning
 
DAT309_Best Practices for Migrating from Oracle and SQL Server to Amazon RDS
DAT309_Best Practices for Migrating from Oracle and SQL Server to Amazon RDSDAT309_Best Practices for Migrating from Oracle and SQL Server to Amazon RDS
DAT309_Best Practices for Migrating from Oracle and SQL Server to Amazon RDS
 
ALX401-Advanced Alexa Skill Building Conversation and Memory
ALX401-Advanced Alexa Skill Building Conversation and MemoryALX401-Advanced Alexa Skill Building Conversation and Memory
ALX401-Advanced Alexa Skill Building Conversation and Memory
 
SID301_Using AWS Lambda as a Security Team
SID301_Using AWS Lambda as a Security TeamSID301_Using AWS Lambda as a Security Team
SID301_Using AWS Lambda as a Security Team
 
Deploying Business Analytics at Enterprise Scale - AWS Online Tech Talks
Deploying Business Analytics at Enterprise Scale - AWS Online Tech TalksDeploying Business Analytics at Enterprise Scale - AWS Online Tech Talks
Deploying Business Analytics at Enterprise Scale - AWS Online Tech Talks
 
WIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdf
WIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdfWIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdf
WIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdf
 
GAM310_Build a Telemetry and Analytics Pipeline for Game Balancing
GAM310_Build a Telemetry and Analytics Pipeline for Game BalancingGAM310_Build a Telemetry and Analytics Pipeline for Game Balancing
GAM310_Build a Telemetry and Analytics Pipeline for Game Balancing
 
Soup to Nuts: Identity Federation for AWS
Soup to Nuts: Identity Federation for AWSSoup to Nuts: Identity Federation for AWS
Soup to Nuts: Identity Federation for AWS
 
WIN401_Migrating Microsoft Applications to AWS
WIN401_Migrating Microsoft Applications to AWSWIN401_Migrating Microsoft Applications to AWS
WIN401_Migrating Microsoft Applications to AWS
 
GAM301-Migrating the League of Legends Platform into AWS Cloud.pdf
GAM301-Migrating the League of Legends Platform into AWS Cloud.pdfGAM301-Migrating the League of Legends Platform into AWS Cloud.pdf
GAM301-Migrating the League of Legends Platform into AWS Cloud.pdf
 
DVC303-Technological Accelerants for Organizational Transformation
DVC303-Technological Accelerants for Organizational TransformationDVC303-Technological Accelerants for Organizational Transformation
DVC303-Technological Accelerants for Organizational Transformation
 
WPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdf
WPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdfWPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdf
WPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdf
 
ENT315_Landing Zones
ENT315_Landing ZonesENT315_Landing Zones
ENT315_Landing Zones
 
An Introduction to AI Services on AWS - Web Summit Lisbon
An Introduction to AI Services on AWS -  Web Summit LisbonAn Introduction to AI Services on AWS -  Web Summit Lisbon
An Introduction to AI Services on AWS - Web Summit Lisbon
 
Design, Build, and Modernize Your Web Applications with AWS
 Design, Build, and Modernize Your Web Applications with AWS Design, Build, and Modernize Your Web Applications with AWS
Design, Build, and Modernize Your Web Applications with AWS
 
More Containers Less Operations
More Containers Less OperationsMore Containers Less Operations
More Containers Less Operations
 
SID201_IAM for Enterprises How Vanguard strikes the Balance Between Agility, ...
SID201_IAM for Enterprises How Vanguard strikes the Balance Between Agility, ...SID201_IAM for Enterprises How Vanguard strikes the Balance Between Agility, ...
SID201_IAM for Enterprises How Vanguard strikes the Balance Between Agility, ...
 
LFS301-SAGE Bionetworks, Digital Mammography DREAM Challenge and How AWS Enab...
LFS301-SAGE Bionetworks, Digital Mammography DREAM Challenge and How AWS Enab...LFS301-SAGE Bionetworks, Digital Mammography DREAM Challenge and How AWS Enab...
LFS301-SAGE Bionetworks, Digital Mammography DREAM Challenge and How AWS Enab...
 
How Nextdoor Built a Scalable, Serverless Data Pipeline for Billions of Event...
How Nextdoor Built a Scalable, Serverless Data Pipeline for Billions of Event...How Nextdoor Built a Scalable, Serverless Data Pipeline for Billions of Event...
How Nextdoor Built a Scalable, Serverless Data Pipeline for Billions of Event...
 
SRV334-Making Things Right with AWS Config Rules and AWS Lambda
SRV334-Making Things Right with AWS Config Rules and AWS LambdaSRV334-Making Things Right with AWS Config Rules and AWS Lambda
SRV334-Making Things Right with AWS Config Rules and AWS Lambda
 

Similar to SID344-Soup to Nuts Identity Federation for AWS

DEV204_Debugging Modern Applications Introduction to AWS X-Ray
DEV204_Debugging Modern Applications Introduction to AWS X-RayDEV204_Debugging Modern Applications Introduction to AWS X-Ray
DEV204_Debugging Modern Applications Introduction to AWS X-RayAmazon Web Services
 
Building Serverless Microservices with AWS
Building Serverless Microservices with AWSBuilding Serverless Microservices with AWS
Building Serverless Microservices with AWSDonnie Prakoso
 
Serverless in Action on AWS
Serverless in Action on AWSServerless in Action on AWS
Serverless in Action on AWSAdrian Hornsby
 
I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...
I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...
I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...Amazon Web Services
 
Use Amazon Rekognition to Build a Facial Recognition System
Use Amazon Rekognition to Build a Facial Recognition SystemUse Amazon Rekognition to Build a Facial Recognition System
Use Amazon Rekognition to Build a Facial Recognition SystemAmazon Web Services
 
Use Amazon Rekognition to Build a Facial Recognition System
Use Amazon Rekognition to Build a Facial Recognition SystemUse Amazon Rekognition to Build a Facial Recognition System
Use Amazon Rekognition to Build a Facial Recognition SystemAmazon Web Services
 
Application Performance Management on AWS
Application Performance Management on AWSApplication Performance Management on AWS
Application Performance Management on AWSAmazon Web Services
 
Serverless Architectural Patterns
Serverless Architectural PatternsServerless Architectural Patterns
Serverless Architectural PatternsAmazon Web Services
 
Serverless Architectural Patterns
Serverless Architectural PatternsServerless Architectural Patterns
Serverless Architectural PatternsAdrian Hornsby
 
SRV312_Taking Serverless to the Edge
SRV312_Taking Serverless to the EdgeSRV312_Taking Serverless to the Edge
SRV312_Taking Serverless to the EdgeAmazon Web Services
 
Serverless Architecture Patterns
Serverless Architecture PatternsServerless Architecture Patterns
Serverless Architecture PatternsAmazon Web Services
 
Deep Dive on Amazon Elastic Container Service (ECS) and Fargate
Deep Dive on Amazon Elastic Container Service (ECS) and FargateDeep Dive on Amazon Elastic Container Service (ECS) and Fargate
Deep Dive on Amazon Elastic Container Service (ECS) and FargateAmazon Web Services
 
How to Handle PCI and HIPAA Compliance with Serverless Architecture( SRV214)
How to Handle PCI and HIPAA Compliance with Serverless Architecture( SRV214)How to Handle PCI and HIPAA Compliance with Serverless Architecture( SRV214)
How to Handle PCI and HIPAA Compliance with Serverless Architecture( SRV214)Amazon Web Services
 
AWS X-Ray: Debugging Applications at Scale - AWS Online Tech Talks
AWS X-Ray: Debugging Applications at Scale - AWS Online Tech TalksAWS X-Ray: Debugging Applications at Scale - AWS Online Tech Talks
AWS X-Ray: Debugging Applications at Scale - AWS Online Tech TalksAmazon Web Services
 
Journey Towards Scaling Your API to 10 Million Users
Journey Towards Scaling Your API to 10 Million UsersJourney Towards Scaling Your API to 10 Million Users
Journey Towards Scaling Your API to 10 Million UsersAdrian Hornsby
 
Security @ (Cloud) Scale Deep Dive
Security @ (Cloud) Scale Deep DiveSecurity @ (Cloud) Scale Deep Dive
Security @ (Cloud) Scale Deep DiveKristana Kane
 
Avoiding Groundhog Day - Enabling Transformation on Day 1, 100, or 1000 of yo...
Avoiding Groundhog Day - Enabling Transformation on Day 1, 100, or 1000 of yo...Avoiding Groundhog Day - Enabling Transformation on Day 1, 100, or 1000 of yo...
Avoiding Groundhog Day - Enabling Transformation on Day 1, 100, or 1000 of yo...Amazon Web Services
 
Technological Accelerants for Organizational Transformation - DVC303 - re:Inv...
Technological Accelerants for Organizational Transformation - DVC303 - re:Inv...Technological Accelerants for Organizational Transformation - DVC303 - re:Inv...
Technological Accelerants for Organizational Transformation - DVC303 - re:Inv...Amazon Web Services
 
Amazon Amazon Elastic Container Service (Amazon ECS)
Amazon Amazon Elastic Container Service (Amazon ECS)Amazon Amazon Elastic Container Service (Amazon ECS)
Amazon Amazon Elastic Container Service (Amazon ECS)Amazon Web Services
 

Similar to SID344-Soup to Nuts Identity Federation for AWS (20)

DEV204_Debugging Modern Applications Introduction to AWS X-Ray
DEV204_Debugging Modern Applications Introduction to AWS X-RayDEV204_Debugging Modern Applications Introduction to AWS X-Ray
DEV204_Debugging Modern Applications Introduction to AWS X-Ray
 
Building Serverless Microservices with AWS
Building Serverless Microservices with AWSBuilding Serverless Microservices with AWS
Building Serverless Microservices with AWS
 
Serverless in Action on AWS
Serverless in Action on AWSServerless in Action on AWS
Serverless in Action on AWS
 
I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...
I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...
I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...
 
Use Amazon Rekognition to Build a Facial Recognition System
Use Amazon Rekognition to Build a Facial Recognition SystemUse Amazon Rekognition to Build a Facial Recognition System
Use Amazon Rekognition to Build a Facial Recognition System
 
Use Amazon Rekognition to Build a Facial Recognition System
Use Amazon Rekognition to Build a Facial Recognition SystemUse Amazon Rekognition to Build a Facial Recognition System
Use Amazon Rekognition to Build a Facial Recognition System
 
Application Performance Management on AWS
Application Performance Management on AWSApplication Performance Management on AWS
Application Performance Management on AWS
 
Serverless Architectural Patterns
Serverless Architectural PatternsServerless Architectural Patterns
Serverless Architectural Patterns
 
Serverless Architectural Patterns
Serverless Architectural PatternsServerless Architectural Patterns
Serverless Architectural Patterns
 
SRV312_Taking Serverless to the Edge
SRV312_Taking Serverless to the EdgeSRV312_Taking Serverless to the Edge
SRV312_Taking Serverless to the Edge
 
Serverless Architecture Patterns
Serverless Architecture PatternsServerless Architecture Patterns
Serverless Architecture Patterns
 
Deep Dive on Amazon Elastic Container Service (ECS) and Fargate
Deep Dive on Amazon Elastic Container Service (ECS) and FargateDeep Dive on Amazon Elastic Container Service (ECS) and Fargate
Deep Dive on Amazon Elastic Container Service (ECS) and Fargate
 
How to Handle PCI and HIPAA Compliance with Serverless Architecture( SRV214)
How to Handle PCI and HIPAA Compliance with Serverless Architecture( SRV214)How to Handle PCI and HIPAA Compliance with Serverless Architecture( SRV214)
How to Handle PCI and HIPAA Compliance with Serverless Architecture( SRV214)
 
AWS X-Ray: Debugging Applications at Scale - AWS Online Tech Talks
AWS X-Ray: Debugging Applications at Scale - AWS Online Tech TalksAWS X-Ray: Debugging Applications at Scale - AWS Online Tech Talks
AWS X-Ray: Debugging Applications at Scale - AWS Online Tech Talks
 
Journey Towards Scaling Your API to 10 Million Users
Journey Towards Scaling Your API to 10 Million UsersJourney Towards Scaling Your API to 10 Million Users
Journey Towards Scaling Your API to 10 Million Users
 
Security @ (Cloud) Scale Deep Dive
Security @ (Cloud) Scale Deep DiveSecurity @ (Cloud) Scale Deep Dive
Security @ (Cloud) Scale Deep Dive
 
Avoiding Groundhog Day - Enabling Transformation on Day 1, 100, or 1000 of yo...
Avoiding Groundhog Day - Enabling Transformation on Day 1, 100, or 1000 of yo...Avoiding Groundhog Day - Enabling Transformation on Day 1, 100, or 1000 of yo...
Avoiding Groundhog Day - Enabling Transformation on Day 1, 100, or 1000 of yo...
 
Technological Accelerants for Organizational Transformation - DVC303 - re:Inv...
Technological Accelerants for Organizational Transformation - DVC303 - re:Inv...Technological Accelerants for Organizational Transformation - DVC303 - re:Inv...
Technological Accelerants for Organizational Transformation - DVC303 - re:Inv...
 
Amazon ECS Deep Dive
Amazon ECS Deep DiveAmazon ECS Deep Dive
Amazon ECS Deep Dive
 
Amazon Amazon Elastic Container Service (Amazon ECS)
Amazon Amazon Elastic Container Service (Amazon ECS)Amazon Amazon Elastic Container Service (Amazon ECS)
Amazon Amazon Elastic Container Service (Amazon ECS)
 

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

SID344-Soup to Nuts Identity Federation for AWS

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Q u i n t V a n D e m a n B u s i n e s s D e v e l o p m e n t M a n a g e r , I d e n t i t y & D i r e c t o r y S e r v i c e s S I D 3 4 4 Soup to Nuts: Identity Federation for AWS November 27, 2017
  • 2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Build consistent vernacular and mental model Tour the major federation bridges across AWS Fun and lively session with demos Links to key content and patterns What to expect (C) Copyright Jean-Remy Duboc and licensed for reuse under the Creative Commons Attribution-Generic 2.0 License By Adam.J.W.C. (Own work) [CC BY 3.0 (http://creativecommons.org/licenses/by/3.0], via Wikimedia Commons
  • 3. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Building a consistent vernacular and mental model
  • 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What do we mean when we say “federation”?
  • 5. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. I d e n t i t y c o n s u m e r sI d e n t i t y p r o v i d e r s Definition (for today) Stores identities Authentication Authorization (Coarse) Authorization (Fine) Trust Stores references Protocols No Sync
  • 6. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Rationale Users Security Compliance Before After Unique credentials 1:Many reuse Credentials everywhere Centrally managed Bespoke Unified Result
  • 7. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Understanding planes of access Amazon EC2 Control plane—AWS API (e.g. ec2:StartInstance) Data plane—Amazon VPC connection (e.g., SSH, RDP) Different: • Paths • Credentials • Protocols
  • 8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Understanding planes of access Amazon DynamoDB Control plane—AWS API (e.g. dynamodb:CreateTable) Data plane—AWS API (e.g. dynamodb:GetItem) Same: • Path • Credential • Protocol
  • 9. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Mental model Evaluation SelectionUse cases Blueprints
  • 10. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Bridge #1: Security assertion markup language (SAML)
  • 11. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SAML primer Service provider (SP) Metadata (in advance) Assertion Identity provider (IdP) AuthN & AuthZ User
  • 12. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SAML federation SAML Internal AD SAML IdP Amazon Cognito Console API CLI Data plane APIs
  • 13. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SAML federation Demonstrations
  • 14. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SAML demo review Amazon S3 permissions Many AWS accounts Custom durations MFA for SAML http://bit.ly/2dBXMUq SAML federation for the AWS Management Console, APIs, and CLI Self-paced workshop materials (all this and much more)
  • 15. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SAML demo review SAML federation for an Amazon Cognito- enabled web application and custom API (using Amazon API Gateway) Amazon Cognito documentation (includes sample code) http://amzn.to/2wSH4IC CloudFront Amazon S3 SPA Amazon Cognito Amazon Cognito SAML IdP Assertion Tokens API Gateway (Chalice)
  • 16. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SAML federation SAML Internal AD SAML IdP Amazon Cognito Console API CLI Data plane APIs Amazon Redshift Amazon RDS (Aurora, MySQL) Amazon QuickSight Amazon AppStream SaaS Apps (Outside AWS)
  • 17. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Bridge #2: OpenID Connect (OIDC)
  • 18. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. OIDC primer Relying Party (RP) Metadata & Registration (in advance) Tokens OpenID provider (OP) User AuthN & AuthZ
  • 19. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. OIDC federation SAML OIDC OIDCExternal Internal AD OIDC OP SAML IdP Amazon Cognito Amazon Redshift Amazon RDS (Aurora, MySQL) Amazon QuickSight Amazon AppStream Apps Data plane APIs SaaS Apps (Outside AWS) Console API CLI
  • 20. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. OIDC federation Demonstrations
  • 21. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. OIDC demo review OIDC federation for an Amazon Cognito- enabled web app and custom API (using Amazon API Gateway) Amazon Cognito documentation (includes sample code) CloudFront Amazon S3 SPA Amazon Cognito Amazon Cognito OP Tokens API Gateway (Chalice) Tokens http://amzn.to/2wSH4IC
  • 22. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. OIDC demo review OIDC federation for an Amazon Cognito- enabled backend application and external API Amazon Cognito documentation Cognito Tokens Systems Manager Parameter Store External API http://amzn.to/2grl7NV
  • 23. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Cognito: Related session For even more details and demonstrations, check out: SID332 11/30/17 (Thursday) 1:45 PM—MGM, Level 3, Premiere Ballroom 314 Identity Management for Your Users and Apps: A Deep Dive on Amazon Cognito
  • 24. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Bridge #3: Active Directory trust with Kerberos
  • 25. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AD trust/Kerberos primer On-premises Active Directory Domain Controller AWS Directory Service For Microsoft Active Directory Kerberos-enabled resource AD Forest Trust Domain Join User Group Add group membership
  • 26. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AD trust SAML OIDC OIDC AD Trust External Internal AD OIDC OP SAML IdP Amazon Cognito Amazon Redshift Amazon RDS (Aurora, MySQL) Amazon QuickSight Amazon AppStream Apps Data plane APIs Windows/ Amazon EC2 Amazon WorkSpaces Amazon RDS (SQL Server) Amazon WorkDocs Amazon WorkMail SaaS Apps (Outside AWS) Console API CLI
  • 27. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AD trust: Related sessions For demonstrations, check out these related sessions: WIN311 11/28/17 (Tuesday) 1:00 PM—MGM, Level 3, Premiere 301 Unified Access Management with AWS Managed Services for Microsoft Active Directory WIN403 11/30/17 (Thursday) 3:15 PM—MGM, Level 1, Grand Ballroom 113 AWS Directory Service for Microsoft Active Directory Deep Dive
  • 28. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AD trust details for Windows/Amazon EC2 Use on-premises AD identities for authentication and authorization in Windows/Amazon EC2 AWS Directory Service documentation On-premises Active Directory Domain Controller AWS Directory Service For Microsoft Active Directory Domain joined Windows Amazon EC2 instance AD Forest Trust Domain Join User Group Add group membership http://amzn.to/2ysq4Ns
  • 29. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AD trust details for Amazon WorkSpaces Use on-premises AD identities to provision and access Amazon WorkSpaces Amazon WorkSpaces documentation On-premises Active Directory Domain Controller AWS Directory Service For Microsoft Active Directory AD Forest Trust User Admin Search & Provision Domain Join Login (AuthN & AuthZ) http://amzn.to/2x6IcZB
  • 30. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Bridge #4: AWS cross-account (XA) trust
  • 31. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS XA trust primer Target AWS account IAM Role Permission Policy: Controls access to AWS services & resources Trust Policy: Specifies the Principals who can assume the role, and a shared secret (external id) Source AWS account IAM Role IAM User Permission Policy: Allows sts:AssumeRole to remote role (in target) sts:AssumeRole Short-term credential Invoke AWS APIs Access Mgmt Console (You) (External entity)(or vice versa) Note: AWS XA trusts also support many other use cases
  • 32. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Cross-account trust Cross- account trust Amazon Cognito Amazon Redshift Amazon RDS (Aurora, MySQL) Amazon QuickSight Amazon AppStream Data plane APIs Windows/ Amazon EC2 Amazon WorkSpaces Amazon RDS (SQL Server) Amazon WorkDocs Amazon WorkMail SaaS Apps (Outside AWS) Console API CLI External Apps AWS Credential
  • 33. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Cross-account trust details Use AWS credentials from one account to federate into another account IAM documentation aws sts assume-role --role-arn arn:aws:iam::012345678912:role/RoleName --role-session-name use_traceable_name --external-id mysharedsecret { "AssumedRoleUser": { "AssumedRoleId": "XXXXXXXXXXXXXXXXXXXXX:use_traceable_name", "Arn": “<roleARN>/use_traceable_name" }, "Credentials": { "SecretAccessKey": "ssssssssssssssssssssssssssssssssssssssss", "SessionToken": "ttttttttttttttttttttttttttttttttttttttttttt", "Expiration": "2017-10-19T00:01:38Z", "AccessKeyId": "aaaaaaaaaaaaaaaaaaaaaaa" } } http://amzn.to/2zzwE2n
  • 34. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Bridge #5: Custom federation broker
  • 35. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Custom federation broker primer Broker Credential User Entitlements and policies sts:AssumeRole (or) sts:GetFederationToken Scoping policy Short-term credential authN & authZ Note: mostly a legacy mechanism
  • 36. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Custom broker Cross- account trust Custom Amazon Cognito Amazon Redshift Amazon RDS (Aurora, MySQL) Amazon QuickSight Amazon AppStream Data plane APIs SaaS Apps (Outside AWS) Console API CLI External Apps BrokerCredential AWS Cred Windows/ Amazon EC2 Amazon WorkSpaces Amazon RDS (SQL Server) Amazon WorkDocs Amazon WorkMail
  • 37. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Wrap-up
  • 38. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Summary SAML OIDC AD Trust XA Trust Custom Many bridges, for different: • Planes of access • Protocols • Source credentials Remember our mental model:
  • 39. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Remaining white space CC0 Public Domain - Free for commercial use http://maxpixel.freegreatpicture.com/Shadow-White-Space-Renovate-Blank-Renovated-Light-763247
  • 40. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Other helpful links • SAML: • Amazon Redshift—http://amzn.to/2yxWX98 • Amazon RDS, MySQL, and Amazon Aurora—http://amzn.to/2gjBDvP • Amazon AppStream 2.0—http://amzn.to/2gkU17q • Amazon QuickSight—http://amzn.to/2xPfyf3 • OIDC: • Amazon Cognito Federated Identities—http://amzn.to/2gl3yvp • sts:AssumeRoleWithWebIdentity—http://amzn.to/2yTcOCr • AD trust: • Amazon RDS SQL Server—http://amzn.to/2glehop • WorkDocs—http://amzn.to/2x6CNBz • WorkMail—http://amzn.to/2kZFxyZ • AWS IAM cross-account trust—http://amzn.to/2kZvRon • Custom federation broker—http://amzn.to/2yyqzov • Chalice (Python serverless framework for AWS)—https://github.com/aws/chalice
  • 41. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank you!