Files
opentf/website/source/docs/providers/softlayer/r/ssh_key.html.markdown
George Christou 61277c0dbd website/docs: Run terraform fmt on code examples (#12075)
* docs/vsphere: Fix code block

* docs: Convert `...` to `# ...` to allow `terraform fmt`ing

* docs: Trim trailing whitespace

* docs: First-pass run of `terraform fmt` on code examples
2017-02-19 00:48:50 +02:00

1.0 KiB

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
softlayer SoftLayer: ssh_key docs-softlayer-resource-ssh-key Manages SoftLayer SSH Keys.

softlayer\ssh_key

Provides SSK keys. This allows SSH keys to be created, updated and deleted. For additional details please refer to API documentation.

Example Usage

resource "softlayer_ssh_key" "test_ssh_key" {
  name       = "test_ssh_key_name"
  notes      = "test_ssh_key_notes"
  public_key = "ssh-rsa <rsa_public_key>"
}

Argument Reference

The following arguments are supported:

  • name - (Required) A descriptive name used to identify an SSH key.
  • public_key - (Required) The public SSH key.
  • notes - (Optional) A small note about an SSH key to use at your discretion.

The name and notes fields are editable.

Attributes Reference

The following attributes are exported:

  • id - The ID of the new SSH key
  • fingerprint - sequence of bytes to authenticate or lookup a longer SSH key.