GithubHelp home page GithubHelp logo

jono20201 / aws-iam-access-key-rotation-enforcer Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 2.0 1.02 MB

Enforces AWS IAM User Access Key Rotation by warning to a SNS topic, and then disabling keys after an expiry.

License: MIT License

TypeScript 87.27% JavaScript 12.73%

aws-iam-access-key-rotation-enforcer's Introduction

aws-iam-access-key-rotation-enforcer

Enforces AWS IAM User Access Key Rotation by warning to a SNS topic, and then disabling keys after an expiry.

How do I use this?


  1. Fork & clone this repository
  2. Install serverless, if you haven't got it already.
  3. Install the Node dependencies: $ yarn
  4. Update the notification email address by editing the serverless.yml file and changing the notificationEmailAddress to your email or a shared mailbox etc.
  5. Deploy! $ sls deploy

Disable keys

By default, this the disabling of key is turned off; for good reason! This software doesn't check if the key is in use, so its possible this will revoke/disable a key vital to your production systems. I'd suggest running this without the disabling of keys turned on to see what it would do, had it been turned on.

If you do decide you want this functionality, under the TOPIC_ARN line within the serverless.yml add:

ACTUALLY_DISABLE_KEYS=true

Disclaimer


I take no responsibility for any issues caused by this software, including downtime caused by revoked keys. You have been warned!

aws-iam-access-key-rotation-enforcer's People

Contributors

dependabot[bot] avatar jono20201 avatar sot528 avatar

Stargazers

 avatar  avatar

Watchers

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