Use this data source to get information about a SSH key.
data "tfe_ssh_key" "test" {
name = "my-ssh-key-name"
organization = "my-org-name"
}
The following arguments are supported:
name
- (Required) Name of the SSH key.organization
- (Required) Name of the organization.In addition to all arguments above, the following attributes are exported:
id
- The ID of the SSH key.