Skip to main content
HashiTalks 2025 Learn about unique use cases, homelab setups, and best practices at scale at our 24-hour virtual knowledge sharing event. Register
Presentation

Sentinel Policy as Code: Use Cases for Terraform, Vault, Nomad & Consul

Get an introduction to the benefits of policy as code and see how HashiCorp's Sentinel works to provide compliance in Terraform, Vault, Consul, and Nomad's Enterprise versions.

Speakers

Extending the ideas of infrastructure as code to compliance and security makes a lot of sense, says HashiCorp software engineer Chris Marchesi in his HashiConf 2019 talk titled: "Policy as Code: IT Governance With HashiCorp Sentinel."

This talk will introduce Sentinel, a policy as code frmework for HashiCorp Enterprise products, and walk through use cases in each of the 4 HashiCorp products.

Sentinel examples

You can find more examples in the Sentinel documentation:

And you can also check out several blogs and guides below for more usage examples: - Writing and Testing Sentinel Policies for Terraform - Sharing Sentinel Policies Across Terraform Cloud Organizations - Validating Vault Secrets with Sentinel - Supporting Multiple Teams on Nomad Clusters

Transcript

You can find a transcript of the same talk Marchesi gave at HashiConf EU in July here: Policy as Code: IT Governance With HashiCorp Sentinel

Slides

More resources like this one

4/11/2024FAQ

Introduction to HashiCorp Vault

Vault identity diagram
12/28/2023FAQ

Why should we use identity-based or "identity-first" security as we adopt cloud infrastructure?

3/15/2023Presentation

Advanced Terraform techniques

3/15/2023Case Study

Using Consul Dataplane on Kubernetes to implement service mesh at an Adfinis client