Files
terraform-provider-binarylane/docs/data-sources/ssh_key.md
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

34 lines
872 B
Markdown

---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "binarylane_ssh_key Data Source - terraform-provider-binarylane"
subcategory: ""
description: |-
---
# binarylane_ssh_key (Data Source)
## Example Usage
```terraform
data "binarylane_ssh_key" "example" {
id = 123456
}
```
<!-- schema generated by tfplugindocs -->
## 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`.