Migrate Secrets from AWS Secrets Manager to HashiCorp Vault with Python, Docker, and GitLab

In our last blog post, 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 blog post.

Migrate Secrets from AWS Secrets Manager to HashiCorp Vault with Terraform

Andrew at Money Leaves Bank finally convinced Claire, his CIO, that HashiCorp Vault should be their secrets management solution as they are becoming a multi-cloud company. Now he is faced with the challenge of migrating their secrets hosted in AWS Secrets Manager to HashiCorp Vault. In this blog post, learn why Andrew decides to use Terraform for this task and how he implements the solution.

Create a Pihole Docker Ad Blocker with Ansible and Terraform

Are you sick and tired of getting bombarded with so many ads while browsing the Internet? Would you like to get rid of these annoying ads that distract you from doing real work? Check out Pihole Docker which is an easy-to-use ad blocker that you can run in your home network or in your office. As an added bonus we use the concepts of Infrastructure as Code with Ansible and Terraform to deploy Pihole Docker in a vSphere environment. All the source code is stored in GitLab.

Scroll to Top