github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/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-resource-key" 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 ```hcl 18 resource "triton_key" "example" { 19 name = "Example Key" 20 key = "${file("keys/id_rsa")}" 21 } 22 ``` 23 24 ## Argument Reference 25 26 The following arguments are supported: 27 28 * `name` - (string, Change forces new resource) 29 The name of the key. If this is left empty, the name is inferred from the comment in the SSH key material. 30 31 * `key` - (string, Required, Change forces new resource) 32 The SSH key material. In order to read this from a file, use the `file` interpolation.