Skip to main content

List users and permissions inside AWS Identity Center

Project description

List user permissions for AWS Identity Center(AWS IDC)

List all users and their corresponding permission set within an AWS Identity Center instance. AWS Identity Center is the new name for AWS SSO.

This will iterate through all users, and determine their permission sets (either directly attached to the user, or via a Group).

Install & Use

As a pre-requisite, you will need Python 3.9 and above to run.

Run the following command to pip install the package:

pip install list-user-permissions-for-aws-idc

Use

list-user-permissions-for-aws-idc

Ensure that the you run this in the account where AWS Identity Center (previously AWS SSO) instance is setup, and the in the correct region.

You may supply a region and aws profile if you use the non default:

list-user-permissions-for-aws-idc --profile my-org-profile --region us-east-1

Output

The script outputs two files, a short 5 column CSV, and a long jsonl file.

The jsonl file contains all details about the user, account, permission set, and group (if applicable), in a denormalized jsonl file. This file contains one json document per line, to make discovery easy.

The csv file contains only the 5 columns:

  • User Name (this is the user's display name in AWS IDC)
  • Account Name (the name of the account in AWS Organizations)
  • Permission Set Name (the name of the permission set)
  • InheritfromGroup (a column to indicate if the user inherited the permissions from a group or not)
  • GroupName (if the user inherited this permission set from a group, this is the name of that group)

Notes

If an account or permission set exists with no users attached to it, this report will not have a item on the list for it. Only permissions sets with account assignments associated with actual users will appear on the list.

Similarly, groups with no users as members will also not appear on the list.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page