Roles

akamai_iam_roles

Use akamai_iam_roles to list roles for the current account and contract type. The account and contract type are determined by the access tokens in your API client. Use the roleId from this data source to construct the auth_grants_json when creating or updating a user's auth grants.

Example

data "akamai_iam_roles" "my-roles" {}

output "roles" {
  value = data.akamai_iam_roles.my-roles
}

Argument reference

There are no arguments for this data source.

Attributes reference

These attributes are returned:

  • roles — A list of roles.