mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-15 07:00:14 -04:00
940 B
940 B
layout, page_title, sidebar_current, description
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| cloudstack | CloudStack: cloudstack_ssh_keypair | docs-cloudstack-resource-ssh-keypair | Creates or registers an SSH keypair. |
cloudstack_ssh_keypair
Creates or registers an SSH keypair.
Example Usage
resource "cloudstack_ssh_keypair" "myKey" {
name = "myKey"
}
Argument Reference
The following arguments are supported:
-
name- (Required) The name to give the SSH keypair. This is a unique value within a Cloudstack account. -
public_key- (Optional) The full public key text of this keypair. If this is omitted, Cloudstack will generate a new keypair.
Attributes Reference
The following attributes are exported:
id- The keypair ID. This is set to the keypairnameargument.fingerprint- The fingerprint of the public key specified or calculated.private_key- This is returned only if Cloudstack generated the keypair.