--- # 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 ### 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 ` or `ssh-ed25519 `.