Giter VIP home page Giter VIP logo

aws.saml's Introduction

AWS.SAML

See PowerShell Gallery for more information.

Build Status

Windows Linux macOS
Build Status Build Status Build Status

Using The Module

Installation

Run the following command in an elevated PowerShell session to install the module from the PowerShell Gallery.

Install-Module AWS.SAML

How To Login

In a PowerShell window run the following command to authenticate your CLI session with AWS. On the first run you will be prompted for the SSO Initiation URL. The Initiation URL is saved in a file in your profile for subsequent uses.

Login-AWSSAML

Using Profiles

In a PowerShell window run the following command to create an AWS profile for use in the CLI. You can create as many profiles as you want.

Login-AWSSAML -ProfileName 'Name'

You can specify a different session duration.

Login-AWSSAML -SessionDuration 43200

When you need to refresh the credentials for any saved profiles just run the following command. If you have multiple profiles created it will refresh tokens for all of them unless you specify a profile name.

Update-AWSSAMLLogin

SSO Initiation URL

The Initiation URL is the URL that you would login to start the SSO process. This is the URL provided by your IT team or the first URL that your SSO App Launcher takes you to.

Google SSO Initiation URL

Click on the app switcher menu on the top right when logged into a google service. Scroll down to the AWS option and right click -> "Copy link address". The address should look similar to the following: https://accounts.google.com/o/saml2/initsso?idpid=ABC&spid=123&forceauthn=false.

CMDLETs

To get more information on each cmdlet run Get-Help <CMDLET Name>

Authentication CMDLETs

  • Login-AWSSAML
  • Update-AWSSAMLLogin

Browsers

The module can support the following Browsers: Chrome, FireFox, Edge and IE. Chrome is the default as has been tested. If you are using another browser and have issues, please report them and preferably submit a PR.

OS

The module can support running on Linux, macOS and Windows. However, only Windows has been tested currently. If you are using another OS and have issues, please report them and preferably submit a PR.

Changes

See CHANGELOG for more information.

Contributing

See CONTRIBUTING for more information.

License

See LICENSE for more information.

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.