exoscale_iam_api_key (Data Source)

Fetch Exoscale IAM API Key.

Corresponding resource: exoscale_iam_role.

Schema

Required

  • key (String) The IAM API Key to match.

Optional

Read-Only

  • id (String) The ID of this resource.
  • name (String) IAM API Key name.
  • role_id (String) IAM API Key role ID.

Nested Schema for timeouts

Optional:

  • read (String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as “30s” or “2h45m”. Valid time units are “s” (seconds), “m” (minutes), “h” (hours). Read operations occur during any refresh or planning operation when refresh is enabled.