SlideShare a Scribd company logo
1 of 46
Rowan Udell, Senior Consultant, Versent

Lucas Chan, Senior Consultant, Versent

Mark Wolfe, Digital and Cloud Consultant, Versent
Level 500: Let's Get (Really) Technical
Welcome Aboard
• Level Up
• Iteration 0
• Simplicity vs Complexity
Hard Boundaries
• Multiple Accounts
• No Pet Accounts
• Consistency is Key
Automation is a hard requirement
It's the only way to do this right
AND
It's not easy
We access AWS in many different ways.
• AWS web console / CLI / API
• Access controlled with IAM user accounts and groups.
• Policies applied at the group or user level.
• Result: You probably have a lot of AWS accounts with a lot of IAM users
• Result: You probably have a lot of variations of your username too
Our Identity Problem
The Symptoms
• lucas
• lucas.chan
• Lucas.Chan
• lucas_chan
• lucaschan
• lchan
• chanl
• mister_chan
• the_chan
• chanl2
• CHNLSQ
• lucas
• lucas.chan
• Lucas.Chan
• lucas_chan
• lucaschan
• lchan
• chanl
• mister_chan
• the_chan
• chanl2
• CHNLSQ
The Symptoms
The Symptoms
• lucas
• lucas.chan
• Lucas.Chan
• lucas_chan
• lucaschan
• lchan
• chanl
• mister_chan
• the_chan
• chanl2
• CHNLSQ
• lucas
• lucas.chan
• Lucas.Chan
• lucas_chan
• lucaschan
• lchan
• chanl2
• CHNLSQ
The Symptoms
“People talk about Hip-Hop Federation like it’s some giant living in the hillside”
- Mos Def
Fear Not of
FEDERATION
AWS Directory Service (Simple AD or Microsoft AD)
Level Up: Stage 1
Demo
AD Connector to your on-prem Active Directory
Level Up: Stage 1
(Bonus Round)
Level Up: Stage 2
IdP and SAML 2.0
(Demo / Bonus Round)
PING with MFA
Level Up: Stage 2
Level Up: Stage 3
CLI Access with saml2aws
Level Up: Stage 3
(Demo)
CLI Access with saml2aws
1. AWS Directory Service is your foot in the door
2. IdP with SAML 2.0 is your happy place
3. Same principles apply for API access
Federation: Summary
Sunlight is the best disinfectant
VISIBILITY
Everything is code
Infrastructure as Code
...BUT
Everything is code
BUT
Secrets don’t go in code!
Infrastructure as Code
Most of our customers have a secret server/service, but:
Current Situation
1. Not integrated with AWS
2. Typically on an internal network
3. Operators and DevOps typically copy these secrets into
source code/config tools
• Uses KMS to manage encryption/decryption
• Data stored in Dynamo
• Access controlled by IAM
• Auditing provided by Cloudtrail
• No servers…
• Port of credstash to golang with some enhancements.
• Supports Windows, Linux and OSX
To help our customers manage their secrets using Amazon native services
we built Unicreds.
Unicreds
Keep your secrets in your account
• Uses the Amazon platform for Key and access management
• Simplifies on/off boarding
• Auditing is available in one place
Why
• Automate creation, storage and retrieval of secrets in your build pipeline
• Use IAM to grant CICD or servers, selective access to secrets
• When secrets are stored and retrieved you can supply a Key Alias
• Easily integrated with tools such as Ansible, Puppet or plain shell scripts
Automation Friendly
• Encrypts everything in AWS
• EBS Volumes
• S3 Objects
• Lambda Environment Variables
Note: Out of the box provides encryption at rest, locked to account
boundaries ONLY.
KMS
• Encrypt
• Decrypt
• GenerateDataKey
KMS API
When we upload a secret with unicreds.
• GenerateDataKey (KMS)
• Use half the key to encrypt (AES) the secret
• Other half used to generate a HMAC signature of the encrypted secret
• PutItem (DynamoDB)
• User supplied identifier eg. admin.apache.dev
• base64(Encrypted Secret), HMAC and base64(Encrypted Key)
• Created Date
Unicreds: How It Works
When we download a secret with unicreds.
• GetItem (DynamoDB)
• Retrieve encrypted secret, HMAC and encrypted key using the identifier
• Decrypt (KMS)
• Decrypt the key
• Validate the HMAC signature
• Decrypt the secret (AES)
• Return the secret to the operator or script
Unicreds: How It Works
1. KMS is integral to securing your data on AWS
2. Build tools to enable automation
3. Aim to make secrets management disappear
Secrets: Summary
• You can't keep up
• Protect them
(sometimes from themselves)
• Verification as Communication
• Less Big Brother
• More Collaboration
Trust & Verify
Build a Chatbot
acloud.guru/learn/serverless-chatbot
THANK YOU
@elrowan@geekylucas @wolfeidau
@Versent_AU
github.com/Versent
Thank you!

More Related Content

What's hot

AWS Lambda and Serverless framework: lessons learned while building a serverl...
AWS Lambda and Serverless framework: lessons learned while building a serverl...AWS Lambda and Serverless framework: lessons learned while building a serverl...
AWS Lambda and Serverless framework: lessons learned while building a serverl...
Luciano Mammino
 
Screencast dave dev-introtoask-andecho-july2015
Screencast dave dev-introtoask-andecho-july2015Screencast dave dev-introtoask-andecho-july2015
Screencast dave dev-introtoask-andecho-july2015
David Isbitski
 

What's hot (20)

AWS DirectConnect fundamentals
AWS DirectConnect fundamentalsAWS DirectConnect fundamentals
AWS DirectConnect fundamentals
 
Colorado Cloud Foundry Meeting
Colorado Cloud Foundry Meeting Colorado Cloud Foundry Meeting
Colorado Cloud Foundry Meeting
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
 
Serverless data processing with Data Pipeline
Serverless data processing with Data PipelineServerless data processing with Data Pipeline
Serverless data processing with Data Pipeline
 
AWS - Beanstalk Fundamentals
AWS - Beanstalk FundamentalsAWS - Beanstalk Fundamentals
AWS - Beanstalk Fundamentals
 
AWS Lambda and Serverless framework: lessons learned while building a serverl...
AWS Lambda and Serverless framework: lessons learned while building a serverl...AWS Lambda and Serverless framework: lessons learned while building a serverl...
AWS Lambda and Serverless framework: lessons learned while building a serverl...
 
AWS Lambda from the Trenches
AWS Lambda from the TrenchesAWS Lambda from the Trenches
AWS Lambda from the Trenches
 
Devina Dhawan's talk - Women and non binary focused intro to AWS
Devina Dhawan's talk - Women and non binary focused intro to AWSDevina Dhawan's talk - Women and non binary focused intro to AWS
Devina Dhawan's talk - Women and non binary focused intro to AWS
 
Building Scalable Services with Amazon API Gateway - Technical 201
Building Scalable Services with Amazon API Gateway - Technical 201Building Scalable Services with Amazon API Gateway - Technical 201
Building Scalable Services with Amazon API Gateway - Technical 201
 
Screencast dave dev-introtoask-andecho-july2015
Screencast dave dev-introtoask-andecho-july2015Screencast dave dev-introtoask-andecho-july2015
Screencast dave dev-introtoask-andecho-july2015
 
Real-time Data Processing Using AWS Lambda
Real-time Data Processing Using AWS LambdaReal-time Data Processing Using AWS Lambda
Real-time Data Processing Using AWS Lambda
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
 
AWS Cloudfront Fundamentals
AWS Cloudfront FundamentalsAWS Cloudfront Fundamentals
AWS Cloudfront Fundamentals
 
AWS Lambda
AWS LambdaAWS Lambda
AWS Lambda
 
aws lambda & api gateway
aws lambda & api gatewayaws lambda & api gateway
aws lambda & api gateway
 
Aws Lambda Cart Microservice Server Less
Aws Lambda Cart Microservice Server LessAws Lambda Cart Microservice Server Less
Aws Lambda Cart Microservice Server Less
 
AWS August Webinar Series - Building Serverless Backends with AWS Lambda and ...
AWS August Webinar Series - Building Serverless Backends with AWS Lambda and ...AWS August Webinar Series - Building Serverless Backends with AWS Lambda and ...
AWS August Webinar Series - Building Serverless Backends with AWS Lambda and ...
 
February 2016 Webinar Series Migrate Your Apps from Parse to AWS
February 2016 Webinar Series   Migrate Your Apps from Parse to AWSFebruary 2016 Webinar Series   Migrate Your Apps from Parse to AWS
February 2016 Webinar Series Migrate Your Apps from Parse to AWS
 
Serverless everywhere
Serverless everywhereServerless everywhere
Serverless everywhere
 
AWS Lambda: Event-driven Code in the Cloud
AWS Lambda: Event-driven Code in the CloudAWS Lambda: Event-driven Code in the Cloud
AWS Lambda: Event-driven Code in the Cloud
 

Similar to Level 500: Let's Get (Really) Technical – Versent

Similar to Level 500: Let's Get (Really) Technical – Versent (20)

MySQL Security on AWS Rds
MySQL Security on AWS RdsMySQL Security on AWS Rds
MySQL Security on AWS Rds
 
Containers Managing Secrets for Containers with Amazon ECS - AWS Online Tech ...
Containers Managing Secrets for Containers with Amazon ECS - AWS Online Tech ...Containers Managing Secrets for Containers with Amazon ECS - AWS Online Tech ...
Containers Managing Secrets for Containers with Amazon ECS - AWS Online Tech ...
 
Protecting your data in AWS
Protecting your data in AWS Protecting your data in AWS
Protecting your data in AWS
 
What's New with AWS Lambda
What's New with AWS LambdaWhat's New with AWS Lambda
What's New with AWS Lambda
 
protecting your data in aws
protecting your data in aws protecting your data in aws
protecting your data in aws
 
Protecting Your Data in AWS
Protecting Your Data in AWSProtecting Your Data in AWS
Protecting Your Data in AWS
 
Protecting your data in aws - Toronto
Protecting your data in aws - TorontoProtecting your data in aws - Toronto
Protecting your data in aws - Toronto
 
Protecting Your Data in AWS
Protecting Your Data in AWSProtecting Your Data in AWS
Protecting Your Data in AWS
 
AWS Lambda at JUST EAT
AWS Lambda at JUST EATAWS Lambda at JUST EAT
AWS Lambda at JUST EAT
 
Protecting Your Data in AWS
Protecting Your Data in AWSProtecting Your Data in AWS
Protecting Your Data in AWS
 
Protecting Your Data in AWS
 Protecting Your Data in AWS Protecting Your Data in AWS
Protecting Your Data in AWS
 
Introduction to AWS Security
Introduction to AWS SecurityIntroduction to AWS Security
Introduction to AWS Security
 
What's New with AWS Lambda
What's New with AWS LambdaWhat's New with AWS Lambda
What's New with AWS Lambda
 
Protecting Your Data in AWS
Protecting Your Data in AWSProtecting Your Data in AWS
Protecting Your Data in AWS
 
How Serverless Changes DevOps
How Serverless Changes DevOpsHow Serverless Changes DevOps
How Serverless Changes DevOps
 
Protecting Your Data in AWS
Protecting Your Data in AWSProtecting Your Data in AWS
Protecting Your Data in AWS
 
Protecting Your Data in AWS
Protecting Your Data in AWSProtecting Your Data in AWS
Protecting Your Data in AWS
 
Securing Your Data in AWS
Securing Your Data in AWSSecuring Your Data in AWS
Securing Your Data in AWS
 
Application Secret Management with KMS
Application Secret Management with KMSApplication Secret Management with KMS
Application Secret Management with KMS
 
Protecting Your Data with Encryption on AWS
Protecting Your Data with Encryption on AWSProtecting Your Data with Encryption on AWS
Protecting Your Data with Encryption on AWS
 

More from Amazon 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 AWS
Amazon 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 Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon 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
 

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
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

Level 500: Let's Get (Really) Technical – Versent

  • 1. Rowan Udell, Senior Consultant, Versent
 Lucas Chan, Senior Consultant, Versent
 Mark Wolfe, Digital and Cloud Consultant, Versent Level 500: Let's Get (Really) Technical
  • 2. Welcome Aboard • Level Up • Iteration 0 • Simplicity vs Complexity
  • 3.
  • 4. Hard Boundaries • Multiple Accounts • No Pet Accounts • Consistency is Key
  • 5. Automation is a hard requirement It's the only way to do this right AND It's not easy
  • 6. We access AWS in many different ways. • AWS web console / CLI / API • Access controlled with IAM user accounts and groups. • Policies applied at the group or user level. • Result: You probably have a lot of AWS accounts with a lot of IAM users • Result: You probably have a lot of variations of your username too Our Identity Problem
  • 7. The Symptoms • lucas • lucas.chan • Lucas.Chan • lucas_chan • lucaschan • lchan • chanl • mister_chan • the_chan • chanl2 • CHNLSQ
  • 8. • lucas • lucas.chan • Lucas.Chan • lucas_chan • lucaschan • lchan • chanl • mister_chan • the_chan • chanl2 • CHNLSQ The Symptoms
  • 9. The Symptoms • lucas • lucas.chan • Lucas.Chan • lucas_chan • lucaschan • lchan • chanl • mister_chan • the_chan • chanl2 • CHNLSQ
  • 10. • lucas • lucas.chan • Lucas.Chan • lucas_chan • lucaschan • lchan • chanl2 • CHNLSQ The Symptoms
  • 11. “People talk about Hip-Hop Federation like it’s some giant living in the hillside” - Mos Def Fear Not of FEDERATION
  • 12. AWS Directory Service (Simple AD or Microsoft AD) Level Up: Stage 1
  • 13. Demo
  • 14.
  • 15. AD Connector to your on-prem Active Directory Level Up: Stage 1 (Bonus Round)
  • 16. Level Up: Stage 2 IdP and SAML 2.0
  • 17. (Demo / Bonus Round) PING with MFA Level Up: Stage 2
  • 18.
  • 19. Level Up: Stage 3 CLI Access with saml2aws
  • 20. Level Up: Stage 3 (Demo) CLI Access with saml2aws
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27. 1. AWS Directory Service is your foot in the door 2. IdP with SAML 2.0 is your happy place 3. Same principles apply for API access Federation: Summary
  • 28. Sunlight is the best disinfectant VISIBILITY
  • 31. Everything is code BUT Secrets don’t go in code! Infrastructure as Code
  • 32. Most of our customers have a secret server/service, but: Current Situation 1. Not integrated with AWS 2. Typically on an internal network 3. Operators and DevOps typically copy these secrets into source code/config tools
  • 33. • Uses KMS to manage encryption/decryption • Data stored in Dynamo • Access controlled by IAM • Auditing provided by Cloudtrail • No servers… • Port of credstash to golang with some enhancements. • Supports Windows, Linux and OSX To help our customers manage their secrets using Amazon native services we built Unicreds. Unicreds
  • 34. Keep your secrets in your account • Uses the Amazon platform for Key and access management • Simplifies on/off boarding • Auditing is available in one place Why
  • 35. • Automate creation, storage and retrieval of secrets in your build pipeline • Use IAM to grant CICD or servers, selective access to secrets • When secrets are stored and retrieved you can supply a Key Alias • Easily integrated with tools such as Ansible, Puppet or plain shell scripts Automation Friendly
  • 36. • Encrypts everything in AWS • EBS Volumes • S3 Objects • Lambda Environment Variables Note: Out of the box provides encryption at rest, locked to account boundaries ONLY. KMS
  • 37. • Encrypt • Decrypt • GenerateDataKey KMS API
  • 38. When we upload a secret with unicreds. • GenerateDataKey (KMS) • Use half the key to encrypt (AES) the secret • Other half used to generate a HMAC signature of the encrypted secret • PutItem (DynamoDB) • User supplied identifier eg. admin.apache.dev • base64(Encrypted Secret), HMAC and base64(Encrypted Key) • Created Date Unicreds: How It Works
  • 39. When we download a secret with unicreds. • GetItem (DynamoDB) • Retrieve encrypted secret, HMAC and encrypted key using the identifier • Decrypt (KMS) • Decrypt the key • Validate the HMAC signature • Decrypt the secret (AES) • Return the secret to the operator or script Unicreds: How It Works
  • 40.
  • 41. 1. KMS is integral to securing your data on AWS 2. Build tools to enable automation 3. Aim to make secrets management disappear Secrets: Summary
  • 42. • You can't keep up • Protect them (sometimes from themselves) • Verification as Communication • Less Big Brother • More Collaboration Trust & Verify
  • 43.