Giter VIP home page Giter VIP logo

iam-eks-user-mapper's Introduction

IAM EKS User Mapper

The general overview for what this tool does can be found here: https://ygrene.tech/mapping-iam-groups-to-eks-user-access-66fd745a6b77

Setting up in your environment:

  1. Have an AWS IAM Group with users that you want to have access to your EKS cluster (https://console.aws.amazon.com/iam/home?#/groups)
  2. Create a new IAM User with an IAM ReadOnly policy
  3. Replace the ACCESS_KEY_ID environment variable in kubernetes/deployment.yaml with your new generated user's access key id
  4. Replace the awsKey: variable in deployment/secret.yaml with the base64 contents of your generated user's secret access key
$ echo -n "secretkey" | base64
  1. Update the AWS_REGION environment variable in kubernetes/deployment.yaml if you aren't running in us-west-2 with your EKS cluster
  2. Edit the kubernetes/deployment.yaml command: with both the IAM group name you want to provide access to, and the Kubernetes group each user in the group should be mapped to. (there is an example in the manifest already)
  3. Finally:
$ kubectl apply -f kubernetes/
  1. Rejoice, now user management will be a bit easier.

Have suggestions or want to contribute?

Raise a PR or file an issue, I'd love to help!

iam-eks-user-mapper's People

Contributors

zparnold avatar

Stargazers

Wojciech Sciesinski avatar William Allen avatar

Watchers

James Cloos avatar

Forkers

ldoming

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.