Sign inSign up

cucloudcollab/samlapi

By cucloudcollab

Updated over 7 years ago

Cornell Shib Access for AWS CLI

Image
0

3.4K

cucloudcollab/samlapi repository overview

You can use Cornell Shibboleth login for both API and CLI access to AWS. I built docker images that will be maintained by the Cloud Services team that can be used for this and it is as simple as running the following command:

docker run -it --rm -v ~/.aws:/root/.aws cucloudcollab/samlapi

After this command has been run it will prompt you for your netid and password. This will be used to login you into Cornell Shibboleth. You will get a push from DUO. Once you have confirmed the DUO notification, you will be prompted to select the role you wish to use for login, if you have only one role it will choose that automatically. The credentials will be placed in the default credential file (~/.aws/credentials) and can be used as follows:

aws --profile saml s3 ls

Tag summary

Content type

Image

Digest

Size

323.7 MB

Last updated

over 7 years ago

docker pull cucloudcollab/samlapi