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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ