Account switch keys
akamai_iam_account_switch_keys
Get a list of your account switch keys.
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
}
Changes to Outputs:
+ 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.
Argument | Required | Description |
---|---|---|
client_id | An API client's ID. | |
filter | Sorts the returned list. Options are:
|
Attributes
Returned is a list of account switch keys for your or the given client ID.
Attribute | Description |
---|---|
account_switch_keys | A list of IDs to accounts other than the default account. Contains:
|
client_id | An API client's ID. |
filter | Sorts the returned list. Options are:
|
Updated 3 months ago