• HashiCorp Developer

  • HashiCorp Cloud Platform
  • Terraform
  • Packer
  • Consul
  • Vault
  • Boundary
  • Nomad
  • Waypoint
  • Vagrant
Terraform
  • Install
  • Tutorials
    • About the Docs
    • Configuration Language
    • Terraform CLI
    • Terraform Cloud
    • Terraform Enterprise
    • CDK for Terraform
    • Provider Use
    • Plugin Development
    • Registry Publishing
    • Integration Program
  • Registry(opens in new tab)
  • Try Cloud(opens in new tab)
  • Sign up
Terraform Home

Tutorials

Skip to main contentTutorials

Get Started

  • AWS
  • Azure
  • Docker
  • GCP
  • OCI
  • Terraform Cloud

Fundamentals

  • CLI
  • Configuration Language
  • Modules
  • Provision
  • State
  • Terraform Cloud

Use Cases

  • Applications
  • AWS Services
  • Azure Services
  • HashiCorp Products
  • IT/SaaS Providers
  • Kubernetes
  • Machine Images
  • Networking
  • Policy
  • Security

Certification Prep

  • Associate Prep (002)
  • Associate Prep (003)
  • Associate Tutorials (002)
  • Associate Tutorials (003)

Production

  • Automate Terraform
  • Enterprise Patterns
  • Terraform Enterprise

Integrations

  • CDK for Terraform
  • Community Providers
  • Custom Framework Providers
  • Custom SDK Providers
  • Secrets

  • Resources

  • Tutorial Library
  • Certifications
  • Community Forum
    (opens in new tab)
  • Support
    (opens in new tab)
  • GitHub
    (opens in new tab)
  • Terraform Registry
    (opens in new tab)
  1. Developer
  2. Terraform
  3. Tutorials
  4. Security

Interact with Security tools

Use Terraform to interact with security tooling like HashiCorp Vault and Boundary. Manage Vault and Vault Enterprise. Configure Vault to use AppRole with Chef. Deploy Consul-backed Vault on Kubernetes.

Start
9 tutorials
  •  
    10min
    Codify Management of Vault Using Terraform
    Use HashiCorp Terraform's Vault provider to codify Vault management to increase repeatability while reducing human errors.
    • Terraform
    • Vault
    • Interactive
  •  
    16min
    Codify Management of Vault Enterprise Using Terraform
    Use HashiCorp Terraform's Vault provider to codify Vault management to increase repeatability while reducing human errors.
    • Terraform
    • Vault
  •  
    20min
    AppRole With Terraform & Chef
    This tutorial discusses the concepts necessary to help users understand Vault's AppRole authentication pattern and how to use it to securely introduce a Vault authentication token to a target server, application, or container.
    • Terraform
    • Vault
    • Video
  •  
    15min
    Deploy Consul and Vault on Kubernetes with Run Triggers
    Deploy a Consul-backed Vault cluster on Kubernetes, by linking Terraform Cloud workspaces with run triggers. Share Kubernetes cluster credentials between workspaces within an organization using data resources.
    • Consul
    • Vault
    • Terraform
  •  
    11min
    Inject Secrets into Terraform Using the Vault Provider
    Configure the AWS Secrets Engine to manage IAM credentials in Vault through Terraform. Then use the short-lived, Vault-generated, dynamic secrets to provision EC2 instances.
    • Vault
    • Terraform
  •  
    10min
    Terraform Cloud Secrets Engine
    Dynamically generate, manage, and revoke credentials for Terraform Cloud (TFC) and Terraform Enterprise (TFE).
    • Terraform
    • Vault
  •  
    12min
    Configure self-hosted Boundary using Terraform
    Configure your self-hosted Boundary environment using Terraform to codify the initial setup to make the process repeatable.
    • Terraform
    • Boundary
  •  
    18min
    Target-Aware Workers
    Instructions to deploy a Boundary environment and configure target-aware workers and query targets after applying worker filters.
    • Boundary
    • Terraform
  •  
    18min
    OIDC Authentication
    Instructions to configure Open-ID Connect (OIDC) authentication methods with Boundary, such as Auth0, Okta or Azure Active Directory.
    • Terraform
    • Boundary
Give Feedback(opens in new tab)
  • Certifications
  • System Status
  • Terms of Use
  • Security
  • Privacy
  • Trademark Policy
  • Trade Controls
  • Give Feedback(opens in new tab)