Vault on Kubernetes with PostgreSQL

Vault on Kubernetes with PostgreSQL

Source: YouTube · That DevOps Guy · published Aug 12, 2020 · 15:39

Cloud Security
No ratings yet Log in to rate
Transcript Available
Description

This video demonstrates how to use HashiCorp Vault to dynamically create database credentials and inject them into Kubernetes applications without manual intervention 0:05-0:58.

Key Takeaways:
• Vault can automatically create users in databases and inject credentials into applications without the application's awareness 0:53-1:00
• The solution requires Kubernetes 1.17+ with admission controllers, Vault deployed in the cluster, and proper authentication between Vault and Kubernetes 2:05-2:10
• Configuration involves enabling Kubernetes auth in Vault, creating database connection configurations, defining roles with SQL statements for user creation, and creating policies 5:45-7:26
• The Vault injector service is critical for automatically injecting secrets into pods based on annotations in the deployment manifest 13:01-13:27

This approach eliminates the need for humans to manually create and insecurely pass database credentials 14:44-14:53.

Sources:

  • 0:05-0:58 Introduction to dynamic database credential management with Vault
  • 0:53-1:00 Explaining how Vault creates users and injects credentials transparently
  • 2:05-2:10 Kubernetes cluster requirements for this solution
  • 5:45-7:26 Configuration steps for database connection and role creation
  • 13:01-13:27 Deploying and explaining the Vault injector service
  • 14:44-14:53 Summary of ben

Generate CPE Credits

Generate a professional CPE document from this video's transcript.

Estimated credit: 0.5 CPE hours

Estimate uses the video runtime (1 hour ≈ 1 CPE, rounded to the nearest 0.5, minimum 0.5, maximum 2.0). The final amount can be lower after review, never higher.

Topic: Cloud Security. Commonly maps to: Security Architecture and Engineering, Communication and Network Security. Exact CISSP domains are assigned during generation.

CISSP Domain Mapping
Learning Objectives
Self-Assessment Questions
PDF Export Ready

Free account. One generation at a time, with a daily limit.

CPEBuddy is independent and not affiliated with or endorsed by ISC2, ISACA, or any certification body. Exports are formatted for common CPE submissions; acceptance is at your certification body's discretion.

Watch on YouTube

Transcript Preview

First 800 characters of the transcript

[Music] what is up youtube and welcome to another super exciting video on secret management this is the future so if you guys are new to the series please check out the links down below i have made a getting started guide on vault on kubernetes on basically i'm spinning up a vault how to configure it all the basic concepts the algorithm around the encryption key and how all of that works i've also created a video on end-to-end encryption for tls to make sure our vault connectivity inside our cluster is fully encrypted and then i've also made a video on injecting basic or static secrets from vault automatically into our application so in this video we're going to solve a very common problem that i'm sure most of you have you have a database and you have an application how do we get vault to…