vault_policy

Example Usage

resource "vault_policy" "example" {
  name = "dev-team"

  policy = <<EOT
path "secret/my_app" {
  capabilities = ["update"]
}
EOT
}

Argument Reference

The following arguments are supported:

Attributes Reference

No additional attributes are exported by this resource.

Import

Policies can be imported using the name, e.g.

$ terraform import vault_policy.example dev-team

Tutorials

Refer to the following tutorials for additional usage examples: