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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南