Terraspace Secrets with AWS: Don’t Commit Secrets into Git, Instead Use SSM and Secrets Manager
Terraspace Secrets with AWS: Don’t Commit Secrets into Git, Instead Use SSM and Secrets Manager
January 4, 2022
Committing secrets into your source version control is not a good practice. We'll show you how to use AWS SecretsManager and SSM Parameter Store to store and use secrets safely instead.
Commands
In the video, to focus on learning, we mainly use the AWS Console to create the secrets. Once you get used to it, here are some useful CLI commands:
aws secretsmanager create-secret --name demo-dev-user --secret-string bob
aws secretsmanager create-secret --name demo-dev-pass --secret-string secret
aws secretsmanager list-secrets
aws secretsmanager get-secret-value --secret-id demo-dev-user
aws secretsmanager get-secret-value --secret-id demo-dev-pass
aws secretsmanager delete-secret --force-delete-without-recovery --secret-id demo-dev-user
aws secretsmanager delete-secret --force-delete-without-recovery --secret-id demo-dev-bob
Links:
- Terraspace Docs: AWS Secrets
- GitHub: boltops-learn/terraspace-aws-secrets
Terraform Fundamentals 101
1h 36m
1h 36m
Terraform HCL Fundamentals
1h 53m
1h 53m
Terraspace Install Guides
8m
8m
Terraspace Fundamentals
2h 30m
2h 30m
Terraspace Cloud
2h 33m
2h 33m
Terraspace Terrafile
29m
29m
Terraspace and Terragrunt
19m
19m
Terraspace AWS Cloud
1h 43m
1h 43m
Terraspace Azure Cloud
1h 15m
1h 15m
Terraspace Google Cloud
1h 12m
1h 12m
Terraspace OnPrem
16m
16m
Terraspace Testing
47m
47m
Terraspace Development
24m
24m
Get full access to these great resources
All for less than the price of coffee a day
44 courses
286 lessons
46+ hours