forked from mirrors/terraform-provider-binarylane
5767bb6739
* 🔑 trim SSH key string with custom value * 🔑 RequiresReplace plan modifier for TrimmedString
34 lines
872 B
Markdown
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`.
|