Python, Docker, and GitLab to migrate secrets from AWS to HashiCorp Vault | FULL COURSE

This is a full 2-hour course video on how to migrate secrets from AWS secrets manager to HashiCorp Vault with Python. You will learn the following: How to build a python script step-by-step with all my mistakes to learn from Create some unit tests in python Packaging the script with Docker along with some best practices for the Dockerfile Build a CI/CD pipeline with GitLab to automate the testing of the python script and automate the containerization of the script with Docker Some best practices along the way In our last video, Andrew at Money Leaves Bank decided to use Terraform to migrate their secrets hosted in AWS Secrets Manager to HashiCorp Vault. However, he got some push-back from the security team regarding secrets showing up in the Terraform state file. Money Leaves Bank hired you as a consultant to write a script to run the migration securely. You decide to use Python for the script, Docker to package it, and GitLab to automate the testing and packaging. Learn more in this video. ▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬ 00:00 - Introduction 01:28 - Agenda 01:47 - Requirements 02:29 - Build the Python Script 1:16:51 - Create Unit Tests 1:24:10 - Containerize the Script with Docker 1:39:16 - Build a GitLab CI/CD Pipeline 2:11:09 - Closing Remarks ▬▬▬▬▬▬▬▬ Useful Links 🛠 ▬▬▬▬▬▬▬ Blog post ► https://tekanaid.com/posts/migrate-se... Code ► https://tekanaid.com/posts/migrate-se... Python SDK documentation for AWS Secrets Manager ► https://boto3.amazonaws.com/v1/docume... Vault Python Library Documentation ► https://hvac.readthedocs.io/en/stable... ▬▬▬▬▬▬▬▬▬ Courses 🎓 ▬▬▬▬▬▬▬▬ TeKanAid Academy ► https://tekanaid.com/courses ▬▬▬▬ 🎓 FREE 7-Day Platform Engineering Crash Course ▬▬▬▬ One email a day for 7 days. Real tools, real CLI commands, hands-on labs. Day 1: What is Platform Engineering (the role, the market, why every large org is building a PE team) Day 2: Infrastructure as Code with Terraform Day 3: Containers and Kubernetes Day 4: Policy as Code (OPA + Sentinel) Day 5: CI/CD and GitOps (GitHub Actions + ArgoCD) Day 6: Observability and Security Day 7: Building Your Internal Developer Platform with Backstage + your 6-month career roadmap 👉 Sign up free: https://tekanaid.com/platform-enginee... ▬▬▬▬▬▬▬▬ 🛠️ Recommended Tools ▬▬▬▬▬▬▬▬ Cloud hosting, infra, and tooling I recommend for AI Platform Engineering. Includes affiliate links that help fund TeKanAid Academy at no cost to you. 👉 https://tekanaid.com/recommended-tools ▬▬▬▬▬▬▬▬ Connect 👋 ▬▬▬▬▬▬▬▬▬ TeKanAid Academy ► https://tekanaid.com/courses Website ► https://tekanaid.com Facebook Page ►   / tekanaid   Don't forget to subscribe ► https://bit.ly/TeKanAid_YouTube_Subsc... MEDIUM ►   / sam-gabrail   TWITTER TeKanAid ► https://x.com/tekanaid TWITTER Sam ► https://x.com/Sam_Gabrail LINKEDIN TeKanAid ►   / tekanaid   LINKEDIN Sam ►   / samgabrail