Giter Club home page Giter Club logo

credz's Introduction

Build Status GitHub license

credz

Turn your Okta identity into AWS credentials on the command line.

Table of Contents

Installation

Install credz using Homebrew.

brew tap ryangraham/credz
brew install credz
credz -v

Usage

warning: this is alpha software and it will overwrite your ~/.aws/credentials file. I recommend taking a manual backup beforehand.

First run credz to populate a profile named test.

credz -p test

The first time you run credz you will be prompted for three things. This information will be cached for subsequent runs.

  1. Okta Organization (If your Okta URL is https://scooterz.okta.com, then your Okta organization will be scooterz)
  2. Okta Username
  3. Okta Password

Next test out your new profile with AWS CLI.

aws sts get-caller-identity --profile test

Configuration

credz will generate the default config file for you. (~/.credz)

[Okta]
organization = mycompany
username = ryang
enable_keychain = true

Use the -c flag to specify an alternate config file.

credz -c other.cfg -p tao

Goals

I started this project because I got frustrated trying to install the popular java CLI on Catalina. I pivoted to a few different python competitors and quickly ran into bugs I didn't want to fix. So I'd like to make this easier, but only time will tell. Please file issues as you run across them. ๐Ÿบ

credz's People

Contributors

ryangraham avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.