Files
Oscar Hermoso 5767bb6739 🔑 Fix whitespace causing SSH key to be re-created (#86)
* 🔑 trim SSH key string with custom value
* 🔑 RequiresReplace plan modifier for TrimmedString
2025-07-18 13:55:07 +08:00

872 B

page_title, subcategory, description
page_title subcategory description
binarylane_ssh_key Data Source - terraform-provider-binarylane

binarylane_ssh_key (Data Source)

Example Usage

data "binarylane_ssh_key" "example" {
  id = 123456
}

Schema

Required

  • id (Number) The ID or fingerprint of the SSH Key to fetch.

Read-Only

  • default (Boolean) If true, this SSH key will be included on all new server installations (if the operating system supports SSH key injection).
  • fingerprint (String) The fingerprint of the SSH key.
  • name (String) A name to help you identify the key.
  • public_key (String) The public key in OpenSSH "authorized_keys" format. This should be a valid public key, such as one generated by ssh-keygen.