aws.sso.list_account_roles
Example SQL Queries
SELECT * FROMaws.sso.list_account_rolesWHERE"access_token" = 'VALUE'AND "account_id" = 'VALUE';Description
Lists all roles that are assigned to the user for a given AWS account.
Table Definition
| Column Name | Column Data Type |
|---|---|
| access_token Required Input Column The token issued by the CreateToken API call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide. | VARCHAR |
| account_id Required Input Column The identifier of the AWS account assigned to the user. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| role_name The friendly name of the role that is assigned to the user. | VARCHAR |