~/talk

Sentinel in action: Policy as code for secure Terraform workflows in HCP

Talkat HashiConf 2025 · 2025-09-24..09-26· [security]
slides:none on file

Demonstrates Sentinel enforcing prewritten AWS policies (aligned with CAS foundation benchmarks) against a Terraform workspace: noncompliant checks flag EBS encryption false, SSH 0.0.0.0/0 and S3 public ACLs and block the run depending on advisory/soft/hard mandatory enforcement. Shows a repo wired into a policy set, plan-time policy evaluation, and remediation cycle. Proves ephemeral resources and write-only arguments keep secrets out of state while tracking version numbers to rotate DB passwords, and ephemeral workspaces auto-destroy on timeout.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 0:25Terraform governance and Sentinel overview
  3. 2:35Sentinel policy enforcement levels
  4. 4:22AWS compliance policies with Sentinel
  5. 4:44Demo setup and repository structure
  6. 6:51Running Terraform with Sentinel policies
  7. 7:35Analyzing Sentinel policy failures
  8. 9:00Ephemeral resources in Terraform
  9. 10:03Ephemeral variables and outputs
  10. 11:51Write-only arguments for secrets
  11. 13:16Demo of secret management with write-only
  12. 16:53Password versioning with write-only
  13. 17:57Ephemeral workspaces for cleanup
  14. 18:58Summary and resources
~/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.