API client
As an account administrator, get details of an API client you can manage.
data "akamai_iam_api_client" "my-api-client" {
client_id = "1ab2cd34efg5hij6"
}
output "my-api-client" {
value = data.akamai_iam_api_client.my-api-client
sensitive = true
}my-api-client = (sensitive value)Argument
Pass an empty data block to get your own API client. Optionally, pass a client ID to get details of another API client.
Attributes
Returned to you are the details of the API client.
| Attribute | Description |
|---|---|
client_id | The API client's ID. |
client_description | A human-readable description of the API client. |
client_name | A descriptive, human-readable name for the API client. |
client_type | The type of the API client's ownership and credential management. Possible values:
|
created_by | The user who created the API client. |
created_date | The ISO 8601 timestamp indicating when the API client was created. |
actions | Actions available on the API client. When set to true, you can perform a given action on the API client. Includes:
|
active_credential_count | The number of credentials active for the API client. When the count is 0, you can delete the API client without interruption. |
allow_account_switch | When true, the API client can manage more than one account. |
api_access | The APIs the API client can access. Includes:
|
authorized_users | The API client's valid users. To get the username, run the Authorized users data source. |
can_auto_create_credential | When true, your API client can create credentials for a new API client. Defaults to false if not set.Note: Auto-creating credentials is available only if the API client is created for the same user as the actor API client. |
base_url | The base URL for the service. |
access_token | The part of the client secret that identifies your API client and lets you access applications and resources. |
credentials | The API client's credentials. Each credential record includes:
|
group_access | The API client's group access. Includes:
|
ip_acl | The API client's IP list restriction. Includes:
|
notification_emails | Email addresses of users who get notified when credentials expire. |
purge_options | Provides details of the API client's access to the Fast Purge API. Includes:
|
is_locked | When true, the API client is locked. |
Updated 3 months ago
