Skip to content
Odinex Cloud
Terraform providerReferenceData sources

odinex_ssh_keys

Lists SSH keys, optionally filtered by a label selector.

Lists SSH keys, optionally filtered by a label selector.

Example Usage

data "odinex_ssh_keys" "team" {
  with_selector = "team=ops"
}

Schema

Optional

  • with_selector (String) Label selector, e.g. env=prod,role.

Read-Only

  • ssh_keys (List of Object) Matching SSH keys.

Nested Schema for ssh_keys

Read-Only:

  • fingerprint (String)
  • id (Number)
  • labels (Map of String)
  • name (String)
  • public_key (String)

On this page