Skip to content

Command to generate credentials for aws-cli when you have SAML authentication with JumpCloud

License

Notifications You must be signed in to change notification settings

Fundflow/jumpcloud_aws

This branch is 2 commits ahead of, 2 commits behind synaptic-cl/jumpcloud_aws:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Tobias JacobowitzTobias Jacobowitz
Tobias Jacobowitz
and
Tobias Jacobowitz
Aug 9, 2018
9376df8 · Aug 9, 2018

History

22 Commits
Aug 9, 2018
May 23, 2018
May 22, 2018
May 23, 2018
May 23, 2018
Feb 24, 2017
May 23, 2018
May 23, 2018

Repository files navigation

Saml with to AWS Used JumpCloud

Command to generate credentials for aws-cli when you have SAML authentication with JumpCloud

Source : https://s3.amazonaws.com/awsiammedia/public/sample/SAMLAPICLIADFS/samlapi_formauth.py Referenced from : https://aws.amazon.com/blogs/security/how-to-implement-a-general-solution-for-federated-apicli-access-using-saml-2-0

Build Status

Requirements

  • python 3.6
  • pip
  • awscli

Install

pip3 install git+git://github.com/synaptic-cl/[email protected]#egg=jumpcloud_aws

Reinstall

pip3 install git+git://github.com/synaptic-cl/[email protected]#egg=jumpcloud_aws --upgrade

Use Command

jumpcloud_aws
# or add params
jumpcloud_aws --email [EMAIL] --password [PASSWORD] --region 0

for know the available regions:

jumpcloud_aws --help

Use With Docker

# Build
docker build -t saml .
# Run
docker run --rm -it -v $(pwd)/jumpcloud_aws:/src/jumpcloud_aws -v $HOME/.aws/credentials:/root/.aws/credentials saml

Developer

Requirements

  • Docker > 18.03
# Build
docker build -t saml .
# Run
docker run --rm -it -v $(pwd)/jumpcloud_aws:/src/jumpcloud_aws -v $HOME/.aws/credentials:/root/.aws/credentials saml

TODO

  • Tests
  • Add validation when not exist the selected region

About

Command to generate credentials for aws-cli when you have SAML authentication with JumpCloud

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.4%
  • Dockerfile 1.6%