Terraspace Google Secret Manager: Don’t Commit Secrets to Git, Instead Use Secrets Manager
            
        Terraspace Google Secret Manager: Don’t Commit Secrets to Git, Instead Use Secrets Manager
January  4, 2022
        
      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
    
      Google Console Guides
      
      
    
    
      
        1h 54m
      
    
  
  
        1h 54m
      
    
    
      Terraform Fundamentals 101
      
      
    
    
      
        1h 36m
      
    
  
  
        1h 36m
      
    
    
      Terraform HCL Fundamentals
      
      
    
    
      
        1h 53m
      
    
  
  
        1h 53m
      
    
    
      Terraspace Fundamentals Google
      
      
    
    
      
        2h 19m
      
    
  
  
        2h 19m
      
    
    
      Terraspace Cloud
      
      
    
    
      
        2h 33m
      
    
  
  
        2h 33m
      
    
    
      Terraspace Google Cloud
      
      
    
    
      
        1h 12m
      
    
  
  
        1h 12m
      
    
    
      Google GKE Kubernetes
      
      
    
    
      
        3h 29m
      
    
  
  
        3h 29m
      
    
    
      Google GKE Kubes
      
      
    
    
      
        1h 17m
      
    
  
  
        1h 17m
      
    Get full access to these great resources
All for less than the price of coffee a day
44 courses
        286 lessons
        46+ hours