github.com/vtorhonen/terraform@v0.9.0-beta2.0.20170307220345-5d894e4ffda7/website/source/docs/providers/vault/r/policy.md (about) 1 --- 2 layout: "vault" 3 page_title: "Vault: vault_policy resource" 4 sidebar_current: "docs-vault-resource-policy" 5 description: |- 6 Writes arbitrary policies for Vault 7 --- 8 9 # vault\_policy 10 11 12 ## Example Usage 13 14 ``` 15 resource "vault_policy" "example" { 16 name = "dev-team" 17 18 policy = <<EOT 19 path "secret/my_app" { 20 policy = "write" 21 } 22 EOT 23 } 24 ``` 25 26 ## Argument Reference 27 28 The following arguments are supported: 29 30 * `name` - (Required) The name of the policy 31 32 * `policy` - (Required) String containing a Vault policy 33 34 ## Attributes Reference 35 36 No additional attributes are exported by this resource.