github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/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  ```hcl
    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.