Automate HomeLab Secret Retrieval | Automatically Issue TLS Certificates and Read Secrets With Vault
This video builds upon this first video https://youtu.be/PQh3sDaPJyg?si=RtnU5_5r_euJxF-A using the certificate authority (CA) created using HashiCorp Vault. Use the AppRole auth method to automatically read secrets and issue TLS certificates during application or server deployment.
► Patreon: https://www.patreon.com/ThSudo
► Buy Me a Coffee: https://www.buymeacoffee.com/TheSudo
► $7 PDF Guide: https://www.patreon.com/thsudo/shop
► Vault policy and bash script used in video: https://github.com/TheSudoYT/vault-homelab-approle/tree/main
▬▬▬▬▬▬ R E F E R E N C E S AND LINKS 🔗▬▬▬▬▬▬
► Vault Docs: https://developer.hashicorp.com/vault/docs
▬▬▬▬▬▬ What you’ll learn in 50 Minutes ✅ ▬▬▬▬▬▬
► How to configure Vault with AppRole
► How to configure a remote system to access Vault
► How to use AppRole to issue a secret
▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
00:00 - Intro
01:55 - What the heck are we doing here
02:42 - What is AppRole Auth Method
05:00 - Prerequisites For the Video
06:10 - Connect to Vault
08:36 - Enable AppRole Auth
10:03 - Create a Policy and a Role
15:41 - Get the RoleID and SecretID
18:01 - Creating and Running the Scripts to Issue Certs