layout | page_title | sidebar_current | description |
---|---|---|---|
cloudstack |
Cloudstack: cloudstack_ssh_keypair |
docs-cloudstack-cloudstack_ssh_keypair |
Gets information about cloudstack ssh keypair. |
Use this datasource to get information about a ssh keypair for use in other resources.
data "cloudstack_ssh_keypair" "ssh-keypair-data" {
filter {
name = "name"
value = "myKey"
}
}
filter
- (Required) One or more name/value pairs to filter off of. You can apply filters on any exported attributes.
The following attributes are exported:
name
- Name of the keypair.fingerprint
- Fingerprint of the public key.