github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/softlayer/r/ssh_key.html.markdown (about)

     1  ---
     2  layout: "softlayer"
     3  page_title: "SoftLayer: ssh_key"
     4  sidebar_current: "docs-softlayer-resource-ssh-key"
     5  description: |-
     6    Manages SoftLayer SSH Keys.
     7  ---
     8  
     9  # softlayer\ssh_key
    10  
    11  Provides SSK keys. This allows SSH keys to be created, updated and deleted.
    12  For additional details please refer to [API documentation](http://sldn.softlayer.com/reference/datatypes/SoftLayer_Security_Ssh_Key).
    13  
    14  ## Example Usage
    15  
    16  ```hcl
    17  resource "softlayer_ssh_key" "test_ssh_key" {
    18    name       = "test_ssh_key_name"
    19    notes      = "test_ssh_key_notes"
    20    public_key = "ssh-rsa <rsa_public_key>"
    21  }
    22  ```
    23  
    24  ## Argument Reference
    25  
    26  The following arguments are supported:
    27  
    28  * `name` - (Required) A descriptive name used to identify an SSH key.
    29  * `public_key` - (Required) The public SSH key.
    30  * `notes` - (Optional) A small note about an SSH key to use at your discretion.
    31  
    32  The `name` and `notes` fields are editable.
    33  
    34  ## Attributes Reference
    35  
    36  The following attributes are exported:
    37  
    38  * `id` - The ID of the new SSH key
    39  * `fingerprint` - sequence of bytes to authenticate or lookup a longer SSH key.