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.


data "akamai_iam_roles" "my-roles" {}

output "roles" {
  value =

Argument reference

There are no arguments for this data source.

Attributes reference

These attributes are returned:

  • roles ‚ÄĒ A list of roles.