github.com/vtorhonen/terraform@v0.9.0-beta2.0.20170307220345-5d894e4ffda7/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 ## Argument Reference 26 27 The following arguments are supported: 28 29 * `name` - (string, Change forces new resource) 30 The name of the key. If this is left empty, the name is inferred from the comment in the SSH key material. 31 32 * `key` - (string, Required, Change forces new resource) 33 The SSH key material. In order to read this from a file, use the `file` interpolation. 34