Giter Site home page Giter Site logo

aws-cli's Introduction

AWS-CLI via Okta

We have built a simple Java application that generates temporary AWS credentials using AWS STS Assume roles, this enables AWS customers to seamlessly gain access to AWS resources using Okta to as a Single-Sign-On source.

###Setup###

Use git clone https://github.com/nshobayo/AWS-CLI.git to clone the repository locally

###Configuring the application### It is essential that oktaAWSCLI.config be in the same directory as the OktaAWSCLI-VERSION-jar-with-dependencies.jar file. The oktaAWSCLi config file holds information specific to each org and needs to be configured on an org to org basis.

Your Okta Org and AWS application url need to be added to your configuration file.

  • OKTA_ORG which is the url of your Okta org.
  • OKTA_AWS_APP_URL is the url link of your Okta AWS application url
  • Obtaining an AWS app url
    • Navigate to the Admin Dashboard of you Okta org
    • Select the Application tab and click you AWS Application
    • Under the General menu, scroll down to find the App Imbed Link section
    • Your link is located under Embed Link
  • Replace the example values in oktaAWSCLI.config with your values

###Running the application###

  • To run the application use the following command while in the directory containing the .jar and .config file

java -jar OktaAWSCLI-VERSION-jar-with-dependencies.jar

  • To specify proxy settings, you can pass in using system properties, which may be set through -D command line option.

java -Dhttp.proxyHost=proxy.com -Dhttp.proxyPort=80 -Dhttp.proxyUser=username -Dhttp.proxyPassword=password -jar OktaAWSCLI-VERSION-jar-with-dependencies.jar

###Compiling the application### This project builds using Maven. To build a new JAR, run the following:

mvn clean package

aws-cli's People

Contributors

don-code avatar gabrielsroka avatar gthole avatar junkangli avatar nshobayo avatar soloniss 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.