33 lines
1,003 B
Markdown
33 lines
1,003 B
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "stackit_key_pair Data Source - stackit"
|
|
subcategory: ""
|
|
description: |-
|
|
Key pair resource schema. Must have a region specified in the provider configuration.
|
|
---
|
|
|
|
# stackit_key_pair (Data Source)
|
|
|
|
Key pair resource schema. Must have a `region` specified in the provider configuration.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
data "stackit_key_pair" "example" {
|
|
name = "example-key-pair-name"
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `name` (String) The name of the SSH key pair.
|
|
|
|
### Read-Only
|
|
|
|
- `fingerprint` (String) The fingerprint of the public SSH key.
|
|
- `id` (String) Terraform's internal resource ID. It takes the value of the key pair "`name`".
|
|
- `labels` (Map of String) Labels are key-value string pairs which can be attached to a resource container.
|
|
- `public_key` (String) A string representation of the public SSH key. E.g., `ssh-rsa <key_data>` or `ssh-ed25519 <key-data>`.
|