github.com/minamijoyo/terraform@v0.7.8-0.20161029001309-18b3736ba44b/website/source/docs/providers/triton/r/triton_key.html.markdown (about)

     1  ---
     2  layout: "triton"
     3  page_title: "Triton: triton_key"
     4  sidebar_current: "docs-triton-firewall"
     5  description: |-
     6      The `triton_key` resource represents an SSH key for a Triton account. 
     7  ---
     8  
     9  # triton\_key
    10  
    11  The `triton_key` resource represents an SSH key for a Triton account.
    12  
    13  ## Example Usages
    14  
    15  Create a key
    16  
    17  
    18  ```
    19  resource "triton_key" "example" {
    20      name = "Example Key"
    21      key = "${file("keys/id_rsa")}"
    22  }
    23                  
    24  ```
    25  
    26  ## Argument Reference
    27  
    28  The following arguments are supported:
    29  
    30  * `name` - (string, Change forces new resource)
    31      The name of the key. If this is left empty, the name is inferred from the comment in the SSH key material.
    32  
    33  * `key` - (string, Required, Change forces new resource)
    34      The SSH key material. In order to read this from a file, use the `file` interpolation.
    35