Skip to main content

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.

Metadata

Release files for list-user-permissions-for-aws-idc 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for list-user-permissions-for-aws-idc 0.1.3
File Size Uploaded
list_user_permissions_for_aws_idc-0.1.3.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for list-user-permissions-for-aws-idc 0.1.3
File Interpreter ABI Platform
list_user_permissions_for_aws_idc-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 12.7 kB

Release files / list_user_permissions_for_aws_idc-0.1.3.tar.gz

Download URL list_user_permissions_for_aws_idc-0.1.3.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
81c028e7ded235b90ea10a10eb5205c13bebaab76ba733bb4530ae05e8101af4
BLAKE2b-256 checksum
How to use checksums
0a51bc3cafa099876d0b0ee5010b88022ee1d6b8bc3a98926d9f60408eedc469
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.5 Darwin/23.6.0

Release files / list_user_permissions_for_aws_idc-0.1.3-py3-none-any.whl

Download URL list_user_permissions_for_aws_idc-0.1.3-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
55c6f48d442b98a17290ef126b6b7343e805207c319f294f64ccdf3d48f71598
BLAKE2b-256 checksum
How to use checksums
226762c445dcbb77e2ad1dd8b609890dc32d42907c38016bce29bcdbaaf9b696
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.5 Darwin/23.6.0

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page