# 

# exoscale_iam_api_key (Data Source)

Fetch Exoscale [IAM](https://community.exoscale.com/documentation/iam/) API Key.

Corresponding resource: [exoscale_iam_role]({{< ref "../resources/iam_api_key.md" >}}).



<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `key` (String) The IAM API Key to match.

### Optional

- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))

### Read-Only

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

<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`

Optional:

- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) 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.



