CmdID / aws / aws sso-admin
aws sso-admin list-account-assignments-for-principal
Retrieves a list of the IAM Identity Center associated Amazon Web Services accounts that the principal has access to. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--filterSpecifies an Amazon Web Services account ID number.--instance-arnSpecifies the ARN of the instance of IAM Identity Center that contains the principal.--max-resultsSpecifies the total number of results that you want included in each response.--next-tokenSpecifies that you want to receive the next page of results.--principal-idSpecifies the principal for which you want to retrieve the list of account assignments.--principal-typeSpecifies the type of the principal.