--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "virtfusion_ssh_key Resource - virtfusion" subcategory: "" description: |- Manages a VirtFusion SSH key. --- # virtfusion_ssh_key (Resource) Manages a VirtFusion SSH key. ## Example Usage ```terraform resource "virtfusion_ssh_key" "mykey" { user_id = 1 name = "my-ssh-key" public_key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIExample user@example.com" } output "ssh_key_id" { value = virtfusion_ssh_key.mykey.id } ``` ## Schema ### Required - `name` (String) The name of the SSH key. - `public_key` (String) The public key content. - `user_id` (Number) The ID of the user who owns this SSH key. ### Read-Only - `id` (Number) The ID of the SSH key.