~/talk

Secure Your Terraform Deploys in GitLab-CI with HashiCorp Vault

Talkat HashiTalks 2021 · 2021-02-17..02-18· [security, devops-and-delivery]
links:none on file
slides:none on file

Shows a working pipeline that uses GitLab-CI + Terraform + HashiCorp Vault in AWS to replace static AWS keys with dynamic AWS creds by having Vault assume per-account IAM roles, and to authenticate CI jobs via a JWT auth method bound to a specific GitLab project ID and master branch. Uses a Vault agent in runners and EC2 instances to auto-renew Vault tokens and secrets; demo deploys a PHP/MySQL app with a rotating DB user every minute to prove secrets issuance and renewal end-to-end.

AI-written summary · about

  1. 0:00Introduction and context
  2. 2:52Problem with CI/CD secrets
  3. 5:19Vault dynamic secrets for AWS
  4. 7:07JWT authentication to Vault
  5. 9:18Vault agent and Terraform integration
  6. 12:12Application secret retrieval
  7. 16:10Live demonstration setup
  8. 23:27Summary and key takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.