SlideShare a Scribd company logo
©2023 F5
1
Welcome to Unit 2
©2023 F5
2
üAttend all webinars
üComplete all hands-on labs
Use same email for all activities
Obtain Your Badge!
©2023 F5
3
üJoin #microservices-march
üGet help with Microservices
March questions
üConnect with NGINX experts
nginxcommunity Slack
©2023 F5
4
Agenda
1. Lecture
2. Q&A
3. Hands-On Lab with Office Hours
(only for live session – if you’re watching this on
demand, complete the lab on your own time)
©2023 F5
5
ROBERT HAYNES
Sr. Technical Marketing Manager
NGINX
Meet the Speaker
©2023 F5
6
What Are Secrets?
©2023 F5
7
Examples of Secrets
SSL Certificate and Key Pair
Database User and Password
Authentication Token
©2023 F5
8
What are we trying to achieve?
Service with
Authentication
Secret
Container App
Bad People
Profit
©2023 F5
9
Key Principles
©2023 F5
10
Key Principles
Store the secret securely, manage access to the
secret, rotate the secret
Protect the container runtime environment and
orchestration system, log key usage
Inject and store the secret in the container
securely, prevent access to the secret from
outside the container
©2023 F5
11
Secure Secret Storage
Encrypt
Control Access
Log and Audit
Good
Bad!
©2023 F5
12
Secure Secret Use
Controlled Audited Access
Hard to Access
Outside Container
Easy to Rotate and
Revoke
©2023 F5
13
Secret Rotation and Revocation
Controlled Access
Identity Provider
• Valid after
• Valid until
• Revokable
• Signed
©2023 F5
14
How to Use Secrets in
Containers
©2023 F5
15
Never Hard Code
Container image with
secret in code / binary
*e.g. match a JWT with: ^[A-Za-z0-9_-]{2,}(?:.[A-Za-z0-9_-]{2,}){2}$
Dump
filesystem
Binary
Strings
command
Search
For
patterns*
Profit
©2023 F5
16
Environment Variables can be Read
Container image Running container
export secret=
Runtime environment injection
Examine
container
(running or
not)
Read
environment
variables
Profit
©2023 F5
17
Use Secrets
Container image Running container with
secret stored in filesystem
0
Secret not
in env vars
Secret not
in
filesystem
dump
dump
filesystem
Examine
container
Profit
Compromise
Host
©2023 F5
18
Use Secret Managers
Container Image Running Container
Secret stored in filesystem
0
Secret not
in env vars
Secret not
in
filesystem
dump
dump
filesystem
Examine
container
Secret not
readable
Compromise
host
©2023 F5
19
Rotate and Revoke Secrets
Container image Running container with
secret in filesystem
0
Service authorizing
connection
Identity Provider
Secret Manager
©2023 F5
20
DEMO TIME
©2023 F5
21
Q&A
©2023 F5
22
Lab Time!
1. Click link in Related Content box
2. Create Instruqt account (or log in) using the same email address from your registration
3. Complete the lab
• Estimated Time: 20-30 minutes
• Max Time: 45 minutes
• Attempts: 3
4. Problems? Use webinar chat
How to Securely Manage Secrets in Containers
©2023 F5
23
• Progress bar:
• Progress in lab
• Time remaining
• Instruction pane is adjustable
• “Check” runs against a script
• Click “Finish” at end to qualify
for badge
Instruqt Basics
©2023 F5
24
Wrap Up
Unit 2: Microservices Secrets Management 101

More Related Content

PDF
Unit 1: Apply the Twelve-Factor App to Microservices Architectures
NGINX, Inc.
 
PDF
Manage Microservices Chaos and Complexity with Observability
NGINX, Inc.
 
PDF
Prometheus Operator 入門(Kubernetes Novice Tokyo #26 発表資料)
NTT DATA Technology & Innovation
 
PPTX
Kubernetesでの性能解析 ~なんとなく遅いからの脱却~(Kubernetes Meetup Tokyo #33 発表資料)
NTT DATA Technology & Innovation
 
PDF
Gitlab, GitOps & ArgoCD
Haggai Philip Zagury
 
PDF
Nutanix Community Edition 5.18 徹底解説
Satoshi Shimazaki
 
PDF
Open ebs 101
LibbySchulze
 
PDF
PostgreSQLのバグとの付き合い方 ~バグの調査からコミュニティへの報告、修正パッチ投稿まで~(PostgreSQL Conference Japa...
NTT DATA Technology & Innovation
 
Unit 1: Apply the Twelve-Factor App to Microservices Architectures
NGINX, Inc.
 
Manage Microservices Chaos and Complexity with Observability
NGINX, Inc.
 
Prometheus Operator 入門(Kubernetes Novice Tokyo #26 発表資料)
NTT DATA Technology & Innovation
 
Kubernetesでの性能解析 ~なんとなく遅いからの脱却~(Kubernetes Meetup Tokyo #33 発表資料)
NTT DATA Technology & Innovation
 
Gitlab, GitOps & ArgoCD
Haggai Philip Zagury
 
Nutanix Community Edition 5.18 徹底解説
Satoshi Shimazaki
 
Open ebs 101
LibbySchulze
 
PostgreSQLのバグとの付き合い方 ~バグの調査からコミュニティへの報告、修正パッチ投稿まで~(PostgreSQL Conference Japa...
NTT DATA Technology & Innovation
 

What's hot (20)

PPTX
やってはいけない空振りDelete
Yu Yamada
 
PDF
Designing a complete ci cd pipeline using argo events, workflow and cd products
Julian Mazzitelli
 
PDF
MySQL Group Replication - Ready For Production? (2018-04)
Kenny Gryp
 
PDF
トランザクション処理可能な分散DB 「YugabyteDB」入門(Open Source Conference 2022 Online/Fukuoka 発...
NTT DATA Technology & Innovation
 
PDF
Getting Started with Kubernetes
VMware Tanzu
 
PDF
モジュールの凝集度・結合度・インタフェース
Hajime Yanagawa
 
PDF
Airflow introduction
Chandler Huang
 
PDF
Maxscale switchover, failover, and auto rejoin
Wagner Bianchi
 
PDF
Migration Guide from Java 8 to Java 11 #jjug
Yuji Kubota
 
PPTX
Migration to ClickHouse. Practical guide, by Alexander Zaitsev
Altinity Ltd
 
PPTX
KubernetesのRBACを掘り下げてみる(Kubernetes Novice Tokyo #17 発表資料)
NTT DATA Technology & Innovation
 
PDF
Observability, Distributed Tracing, and Open Source: The Missing Primer
VMware Tanzu
 
PDF
Kubernetes Secrets Management on Production with Demo
Opsta
 
PDF
Monitoring Kubernetes with Prometheus (Kubernetes Ireland, 2016)
Brian Brazil
 
PDF
Apache Kafkaって本当に大丈夫?~故障検証のオーバービューと興味深い挙動の紹介~
NTT DATA OSS Professional Services
 
PDF
リーンなコードを書こう:実践的なオブジェクト指向設計
増田 亨
 
PPTX
ネットワーク機器のAPIあれこれ入門 (NetOpsCoding#2)
Kentaro Ebisawa
 
PDF
pg_trgmと全文検索
NTT DATA OSS Professional Services
 
PDF
Kotlinアンチパターン
Recruit Lifestyle Co., Ltd.
 
PDF
Kubernetes Networking
CJ Cullen
 
やってはいけない空振りDelete
Yu Yamada
 
Designing a complete ci cd pipeline using argo events, workflow and cd products
Julian Mazzitelli
 
MySQL Group Replication - Ready For Production? (2018-04)
Kenny Gryp
 
トランザクション処理可能な分散DB 「YugabyteDB」入門(Open Source Conference 2022 Online/Fukuoka 発...
NTT DATA Technology & Innovation
 
Getting Started with Kubernetes
VMware Tanzu
 
モジュールの凝集度・結合度・インタフェース
Hajime Yanagawa
 
Airflow introduction
Chandler Huang
 
Maxscale switchover, failover, and auto rejoin
Wagner Bianchi
 
Migration Guide from Java 8 to Java 11 #jjug
Yuji Kubota
 
Migration to ClickHouse. Practical guide, by Alexander Zaitsev
Altinity Ltd
 
KubernetesのRBACを掘り下げてみる(Kubernetes Novice Tokyo #17 発表資料)
NTT DATA Technology & Innovation
 
Observability, Distributed Tracing, and Open Source: The Missing Primer
VMware Tanzu
 
Kubernetes Secrets Management on Production with Demo
Opsta
 
Monitoring Kubernetes with Prometheus (Kubernetes Ireland, 2016)
Brian Brazil
 
Apache Kafkaって本当に大丈夫?~故障検証のオーバービューと興味深い挙動の紹介~
NTT DATA OSS Professional Services
 
リーンなコードを書こう:実践的なオブジェクト指向設計
増田 亨
 
ネットワーク機器のAPIあれこれ入門 (NetOpsCoding#2)
Kentaro Ebisawa
 
pg_trgmと全文検索
NTT DATA OSS Professional Services
 
Kotlinアンチパターン
Recruit Lifestyle Co., Ltd.
 
Kubernetes Networking
CJ Cullen
 
Ad

Similar to Unit 2: Microservices Secrets Management 101 (20)

PDF
ContainerDays Boston 2016: "Hiding in Plain Sight: Managing Secrets in a Cont...
DynamicInfraDays
 
PDF
5GCroCo_DockerSecurityBasics_Training.pdf
MaghsoudAbbasPour1
 
PDF
DevSecCon Singapore 2018 - Remove developers’ shameful secrets or simply rem...
DevSecCon
 
PPTX
DevSecCon SG 2018 Fabian Presentation Slides
Fab L
 
PDF
ContainerDays NYC 2016: "The Secure Introduction Problem: Getting Secrets Int...
DynamicInfraDays
 
PDF
Your secret's safe with me
Aqua Security
 
PDF
Your secret's safe with me
Liz Rice
 
PDF
Docker Containers Security
Stephane Woillez
 
PDF
Secure Secret Management on a Budget: Reasoning about Scalable SM with Vault ...
Mary Racter
 
PDF
(Ebook) Learning Kali Linux by Ric Messier
fiukerlet
 
PDF
Shifting security left simplifying security for k8s open shift environments
LibbySchulze
 
PDF
Mod security 3 NGINX
Ibel Nasutiion
 
PDF
Black_Hat_Python_Python_Programming_for_Hackers_and_Pentesters.pdf
Boucif David
 
PDF
Managing secrets at scale
Alex Schoof
 
PDF
XP Days 2019: First secret delivery for modern cloud-native applications
Vlad Fedosov
 
PPTX
Container secrets talk from DevSecCon
Liz Rice
 
PDF
Sharing secret keys in Docker containers and K8s
Jose Manuel Ortega Candel
 
PDF
3. Cryptographic Security
Sam Bowne
 
PDF
The 5 elements of IoT security
Julien Vermillard
 
PDF
Rugged Building Materials and Creating Agility with Security
David Etue
 
ContainerDays Boston 2016: "Hiding in Plain Sight: Managing Secrets in a Cont...
DynamicInfraDays
 
5GCroCo_DockerSecurityBasics_Training.pdf
MaghsoudAbbasPour1
 
DevSecCon Singapore 2018 - Remove developers’ shameful secrets or simply rem...
DevSecCon
 
DevSecCon SG 2018 Fabian Presentation Slides
Fab L
 
ContainerDays NYC 2016: "The Secure Introduction Problem: Getting Secrets Int...
DynamicInfraDays
 
Your secret's safe with me
Aqua Security
 
Your secret's safe with me
Liz Rice
 
Docker Containers Security
Stephane Woillez
 
Secure Secret Management on a Budget: Reasoning about Scalable SM with Vault ...
Mary Racter
 
(Ebook) Learning Kali Linux by Ric Messier
fiukerlet
 
Shifting security left simplifying security for k8s open shift environments
LibbySchulze
 
Mod security 3 NGINX
Ibel Nasutiion
 
Black_Hat_Python_Python_Programming_for_Hackers_and_Pentesters.pdf
Boucif David
 
Managing secrets at scale
Alex Schoof
 
XP Days 2019: First secret delivery for modern cloud-native applications
Vlad Fedosov
 
Container secrets talk from DevSecCon
Liz Rice
 
Sharing secret keys in Docker containers and K8s
Jose Manuel Ortega Candel
 
3. Cryptographic Security
Sam Bowne
 
The 5 elements of IoT security
Julien Vermillard
 
Rugged Building Materials and Creating Agility with Security
David Etue
 
Ad

More from NGINX, Inc. (20)

PDF
【NGINXセミナー】 Ingressを使ってマイクロサービスの運用を楽にする方法
NGINX, Inc.
 
PDF
【NGINXセミナー】 NGINXのWAFとは?その使い方と設定方法 解説セミナー
NGINX, Inc.
 
PDF
【NGINXセミナー】API ゲートウェイとしてのNGINX Plus活用方法
NGINX, Inc.
 
PPTX
Get Hands-On with NGINX and QUIC+HTTP/3
NGINX, Inc.
 
PPTX
Managing Kubernetes Cost and Performance with NGINX & Kubecost
NGINX, Inc.
 
PDF
Accelerate Microservices Deployments with Automation
NGINX, Inc.
 
PDF
NGINX基本セミナー(セキュリティ編)~NGINXでセキュアなプラットフォームを実現する方法!
NGINX, Inc.
 
PDF
Easily View, Manage, and Scale Your App Security with F5 NGINX
NGINX, Inc.
 
PDF
NGINXセミナー(基本編)~いまさら聞けないNGINXコンフィグなど基本がわかる!
NGINX, Inc.
 
PDF
Keep Ahead of Evolving Cyberattacks with OPSWAT and F5 NGINX
NGINX, Inc.
 
PPTX
Install and Configure NGINX Unit, the Universal Application, Web, and Proxy S...
NGINX, Inc.
 
PPTX
Protecting Apps from Hacks in Kubernetes with NGINX
NGINX, Inc.
 
PPTX
NGINX Kubernetes API
NGINX, Inc.
 
PPTX
Successfully Implement Your API Strategy with NGINX
NGINX, Inc.
 
PPTX
Installing and Configuring NGINX Open Source
NGINX, Inc.
 
PPTX
Shift Left for More Secure Apps with F5 NGINX
NGINX, Inc.
 
PPTX
How to Avoid the Top 5 NGINX Configuration Mistakes.pptx
NGINX, Inc.
 
PDF
Kubernetes環境で実現するWebアプリケーションセキュリティ
NGINX, Inc.
 
PDF
Software Delivery and the Rube Goldberg Machine: What Is the Problem We Are T...
NGINX, Inc.
 
PDF
Open Sourcing NGINX Agent and Demo
NGINX, Inc.
 
【NGINXセミナー】 Ingressを使ってマイクロサービスの運用を楽にする方法
NGINX, Inc.
 
【NGINXセミナー】 NGINXのWAFとは?その使い方と設定方法 解説セミナー
NGINX, Inc.
 
【NGINXセミナー】API ゲートウェイとしてのNGINX Plus活用方法
NGINX, Inc.
 
Get Hands-On with NGINX and QUIC+HTTP/3
NGINX, Inc.
 
Managing Kubernetes Cost and Performance with NGINX & Kubecost
NGINX, Inc.
 
Accelerate Microservices Deployments with Automation
NGINX, Inc.
 
NGINX基本セミナー(セキュリティ編)~NGINXでセキュアなプラットフォームを実現する方法!
NGINX, Inc.
 
Easily View, Manage, and Scale Your App Security with F5 NGINX
NGINX, Inc.
 
NGINXセミナー(基本編)~いまさら聞けないNGINXコンフィグなど基本がわかる!
NGINX, Inc.
 
Keep Ahead of Evolving Cyberattacks with OPSWAT and F5 NGINX
NGINX, Inc.
 
Install and Configure NGINX Unit, the Universal Application, Web, and Proxy S...
NGINX, Inc.
 
Protecting Apps from Hacks in Kubernetes with NGINX
NGINX, Inc.
 
NGINX Kubernetes API
NGINX, Inc.
 
Successfully Implement Your API Strategy with NGINX
NGINX, Inc.
 
Installing and Configuring NGINX Open Source
NGINX, Inc.
 
Shift Left for More Secure Apps with F5 NGINX
NGINX, Inc.
 
How to Avoid the Top 5 NGINX Configuration Mistakes.pptx
NGINX, Inc.
 
Kubernetes環境で実現するWebアプリケーションセキュリティ
NGINX, Inc.
 
Software Delivery and the Rube Goldberg Machine: What Is the Problem We Are T...
NGINX, Inc.
 
Open Sourcing NGINX Agent and Demo
NGINX, Inc.
 

Recently uploaded (20)

PDF
Salesforce Implementation Services Provider.pdf
VALiNTRY360
 
PPTX
Visualising Data with Scatterplots in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PDF
Exploring AI Agents in Process Industries
amoreira6
 
PPTX
Presentation about variables and constant.pptx
kr2589474
 
PPTX
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
PDF
Using licensed Data Loss Prevention (DLP) as a strategic proactive data secur...
Q-Advise
 
PDF
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
PPTX
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
PPTX
Explanation about Structures in C language.pptx
Veeral Rathod
 
PDF
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
PDF
Balancing Resource Capacity and Workloads with OnePlan – Avoid Overloading Te...
OnePlan Solutions
 
PDF
lesson-2-rules-of-netiquette.pdf.bshhsjdj
jasmenrojas249
 
PPTX
Odoo Integration Services by Candidroot Solutions
CandidRoot Solutions Private Limited
 
PDF
49785682629390197565_LRN3014_Migrating_the_Beast.pdf
Abilash868456
 
PPT
Why Reliable Server Maintenance Service in New York is Crucial for Your Business
Sam Vohra
 
PDF
Summary Of Odoo 18.1 to 18.4 : The Way For Odoo 19
CandidRoot Solutions Private Limited
 
PPTX
Presentation about variables and constant.pptx
safalsingh810
 
PDF
Generating Union types w/ Static Analysis
K. Matthew Dupree
 
PPTX
Can You Build Dashboards Using Open Source Visualization Tool.pptx
Varsha Nayak
 
PDF
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
Salesforce Implementation Services Provider.pdf
VALiNTRY360
 
Visualising Data with Scatterplots in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Exploring AI Agents in Process Industries
amoreira6
 
Presentation about variables and constant.pptx
kr2589474
 
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
Using licensed Data Loss Prevention (DLP) as a strategic proactive data secur...
Q-Advise
 
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
Explanation about Structures in C language.pptx
Veeral Rathod
 
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
Balancing Resource Capacity and Workloads with OnePlan – Avoid Overloading Te...
OnePlan Solutions
 
lesson-2-rules-of-netiquette.pdf.bshhsjdj
jasmenrojas249
 
Odoo Integration Services by Candidroot Solutions
CandidRoot Solutions Private Limited
 
49785682629390197565_LRN3014_Migrating_the_Beast.pdf
Abilash868456
 
Why Reliable Server Maintenance Service in New York is Crucial for Your Business
Sam Vohra
 
Summary Of Odoo 18.1 to 18.4 : The Way For Odoo 19
CandidRoot Solutions Private Limited
 
Presentation about variables and constant.pptx
safalsingh810
 
Generating Union types w/ Static Analysis
K. Matthew Dupree
 
Can You Build Dashboards Using Open Source Visualization Tool.pptx
Varsha Nayak
 
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 

Unit 2: Microservices Secrets Management 101