| page_title | stackit_key_pair Data Source - stackit |
|---|---|
| subcategory | |
| description | Key pair resource schema. Must have a region specified in the provider configuration. |
Key pair resource schema. Must have a region specified in the provider configuration.
data "stackit_key_pair" "example" {
name = "example-key-pair-name"
}name(String) The name of the SSH key pair.
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>orssh-ed25519 <key-data>.