Skip to content

Simple utility for getting an AWS role session credentials via a SAML idp connection

Notifications You must be signed in to change notification settings

jimmydavies/aws-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-auth

Simple utility for managing aws sessions acquired via IDP SAML provider

This is a work in progress More info and better installation instruction to follow

Installation

Download from the following url

  • MAC (ARM64)

  • Unzip with your favourite unzipping tool

  • Unquarantine the binary xattr -r -d com.apple.quarantine </path/to/file>

  • Add to your path

Configure

Add a profile to your aws config file that looks like this

[profile <rolename>]
account_id = <my_aws_account_number>
idp_arn    = <arn_of_the_iam_idp_saml_provider>
login_url  = <login_url>
credential_process = <path_to_this_script> <environment> <rolename> -o json

Test

aws-auth -o json <environment> <rolename>

About

Simple utility for getting an AWS role session credentials via a SAML idp connection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published