Giter VIP home page Giter VIP logo

disable-iam-user-from-accessing-console's Introduction

Disable-IAM-User-from-accessing-console

Flow Daigram

image

Usage

This script will list all the IAM user and then users will select IAM users which needs to be disabled from accessing the AWS management console. Users can type in bulk IAM users or one user. If then that users will try to access AWS console for that particular user it will not be able to do so. These users if have access key and secret key then they have the option of accessing them in programmatic way by entering access key and secret key.

For listing use -l

image

For any help or to know more about it use -h image

Steps that will disable the users access are

  1. Run the script . It will list the IAM users.

image

  1. Type the IAM user name which needs to be disable.One can write one user or more than one sepearted by space.In given description one user is disabled.

image

  1. As it can be seen that both users are disabled. If we check on the dashboard to verify it will show disable for both of the users.

For muskan user-

image

For mj user-

image

  1. Now it will ask for programmatic access to that user if it have access key and secret key then go ahead otherwise type no.

image

Programmatic access to the user having access key and secret key

If a user has access key and secret key then it can have programmatic access. The program will ask for the same , if it is yes then enter the access key and secret key ,if no it will exit and other than that will give an error of wrong choice.

For yes it will look like

image

For no-

image

For other-

image

disable-iam-user-from-accessing-console's People

Contributors

muskanj895 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.