---
updatedAt: 2026-03-01T18:31:59.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/terraform/llms.txt
---

# Account switch keys

akamai_iam_account_switch_keys

Get a list of your account switch keys.

```json Query
data "akamai_iam_account_switch_keys" "my_account_switch_keys" {
}

output "my_account_switch_keys" {
  value = data.akamai_iam_account_switch_keys.my_account_switch_keys
}
```
```json Standard output
my_account_switch_keys = {
      account_switch_keys = [
          {
              account_name       = "Account 1"
              account_switch_key = "A-CCT1234:1ABCD"
            },
            {
              account_name       = "Account 2"
              account_switch_key = "A-CCT2345:2EFGH"
            },
        ]
      client_id           = null
      filter              = null
    }
```

## Arguments

Pass this data source empty to get all of your account switch keys or provide optional arguments to narrow down the results.

[block:parameters]
{
  "data": {
    "h-0": "Argument",
    "h-1": "Required",
    "h-2": "Description",
    "0-0": "`client_id`",
    "0-1": "",
    "0-2": "An API client's ID.",
    "1-0": "`filter`",
    "1-1": "",
    "1-2": "Sorts the returned list. Options are:<ul><li><code>account_id</code>. An account ID.</li><li><code>account_name</code>. An account name.</li></ul>"
  },
  "cols": 3,
  "rows": 2,
  "align": [
    null,
    null,
    null
  ]
}
[/block]

## Attributes

Returned is a list of account switch keys for your or the given client ID.

[block:parameters]
{
  "data": {
    "h-0": "Attribute",
    "h-1": "Description",
    "0-0": "`account_switch_keys`",
    "0-1": "A list of IDs to accounts other than the default account. Contains: <ul><li><code>account_switch_key</code>. The ID of an account other than the default.</li><li><code>account_name</code>. The account's name.</li></ul>",
    "1-0": "`client_id`",
    "1-1": "An API client's ID.",
    "2-0": "`filter`",
    "2-1": "Sorts the returned list. Options are:<ul><li><code>account_id</code>. An account ID.</li><li><code>account_name</code>. An account name.</li></ul>"
  },
  "cols": 2,
  "rows": 3,
  "align": [
    null,
    null
  ]
}
[/block]

# Sibling pages

* [Accessible groups](https://techdocs.akamai.com/terraform/docs/iam-ds-access-grps.md)
* [Allowed APIs](https://techdocs.akamai.com/terraform/docs/iam-ds-allowed-apis.md)
* [API client](https://techdocs.akamai.com/terraform/docs/iam-ds-api-client.md)
* [API clients](https://techdocs.akamai.com/terraform/docs/iam-ds-api-clients.md)
* [Authorized users](https://techdocs.akamai.com/terraform/docs/iam-ds-auth-users.md)
* [Blocked properties](https://techdocs.akamai.com/terraform/docs/iam-ds-blocked-props.md)
* [CIDR block](https://techdocs.akamai.com/terraform/docs/iam-ds-cidr-block.md)
* [CIDR blocks](https://techdocs.akamai.com/terraform/docs/iam-ds-cidr-blocks.md)
* [Contact types](https://techdocs.akamai.com/terraform/docs/iam-ds-contact-types.md)
* [Countries](https://techdocs.akamai.com/terraform/docs/iam-ds-countries.md)
* [Grantable roles](https://techdocs.akamai.com/terraform/docs/iam-ds-grantable-roles.md)
* [Group](https://techdocs.akamai.com/terraform/docs/iam-ds-group.md)
* [Groups](https://techdocs.akamai.com/terraform/docs/iam-ds-groups.md)
* [Password policy](https://techdocs.akamai.com/terraform/docs/iam-ds-password-policy.md)
* [Property users](https://techdocs.akamai.com/terraform/docs/property-users.md)
* [Role](https://techdocs.akamai.com/terraform/docs/iam-ds-role.md)
* [Roles](https://techdocs.akamai.com/terraform/docs/iam-ds-roles.md)
* [States](https://techdocs.akamai.com/terraform/docs/iam-ds-states.md)
* [Supported languages](https://techdocs.akamai.com/terraform/docs/iam-ds-supported-languages.md)
* [Time zones](https://techdocs.akamai.com/terraform/docs/iam-ds-timezones.md)
* [Timeout policies](https://techdocs.akamai.com/terraform/docs/iam-ds-timeout-policies.md)
* [User](https://techdocs.akamai.com/terraform/docs/iam-ds-user.md)
* [Users](https://techdocs.akamai.com/terraform/docs/iam-ds-users.md)
* [Users affected by moving group](https://techdocs.akamai.com/terraform/docs/iam-ds-users-affected-by-moving-group.md)