aws sso list-account-roles
Lists all roles that are assigned to the user for a given AWS account. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--access-tokenThe token issued by the CreateToken API call.--account-idThe identifier for the AWS account that is assigned to the user.--max-resultsThe number of items that clients can request per page.--next-tokenThe page token from the previous response output when you request subsequent pages.