Identity Center List users and users in groups

0

Hi Is there an easy way to list all the users in IAM Identity Center and all the groups they belong to? I would like to run a PowerShell/CLI command and run it out in to a .csv if possible. Maybe there is an export .csv function in the management console but I cannot seem to find it.

Any help would be much appreciated

Regards

MMuser65

1개 답변
0

We can make use of recently launched AWS IAM Identity Center APIs to do that. There is a sample AWS Identity Store operations python script called identitystore_operations.py is available in the iam-identitycenter-identitystoreapi-operations GitHub repository. This sample program shows you how you can automate Identity Store operations to create a new user, add the user to a group, list group memberships, and update the user’s group memberships operations. This sample program requires the AWS SDK for Python (Boto3). For instructions to install the AWS SDK for Python, see the Boto3 Quickstart. For more details, refer to the blog at https://aws.amazon.com/blogs/security/announcing-new-aws-iam-identity-center-apis-to-manage-users-and-groups-at-scale/

AWS
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠