Show you how to use Google Secret Manager with Terraspace. This allows to you to not have any secret information like passwords in your Terraform source code.
CLI Commands
In the video, we mainly focused on learning and using the Google Console. Once you get used to it, here was also some useful CLI Commands:
gcloud secrets create demo-dev-pass
gcloud secrets create demo-dev-user
echo -n bob > /tmp/demo-dev-user.txt
echo -n secret1 > /tmp/demo-dev-pass.txt
gcloud secrets versions add demo-dev-user --data-file=/tmp/demo-dev-user.txt
gcloud secrets versions add demo-dev-pass --data-file=/tmp/demo-dev-pass.txt
gcloud secrets versions access latest --secret demo-dev-pass
gcloud secrets versions access latest --secret demo-dev-user
Links
Terraspace Google Cloud
1h 12m
Explore lesson as part of a learning path
Get full access to these great resources
All for less than the price of coffee a day