Giter Site home page Giter Site logo

aws-iam-identity-center-list-permissions's Introduction

AWS IAM Identity Center - List Permission Sets and Associated User Permissions

This project provides examples and sample code to audit AWS IAM identity store at scale.

With these scripts, you can:

  • Query information about users and groups in IAM Identity Center
  • Find out which users are members of which groups

Prerequisites

Before you start you should have the following prerequisites:

  • An Organization in AWS Organizations
  • Administrative access to the AWS IAM Identity Center
  • Python version 3.10.5 or later
  • AWS CLI

Environment Setup

  • Clone this repository
git clone https://github.com/jacobcantwell/aws-iam-identity-center-list-permissions

Set the AWS credentials in your terminal.

  • In your AWS login page, select a role with access to AWS IAM Identity Center
  • Select Command line or programmatic access
  • Set AWS environment variables - e.g. copy code in Option 1 in to your terminal

To Run

python3 identitystore_users.py

Output CSV

The output CSV includes these headers:

  • UserId
  • UserName
  • FamilyName
  • GivenName
  • DisplayName
  • Email
  • AWSAccountId
  • IdentityStoreId
  • PermissionSetName
  • AttachedManagedPolicies (Pipe delimited list)
  • CustomerManagedPolicyReferences (Pipe delimited list)
  • GroupDisplayName

aws-iam-identity-center-list-permissions's People

Contributors

jacobcantwell avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.