Skip to main content

Generates AWS credentials for roles using STS

Project description

https://img.shields.io/pypi/v/aws_role_credentials.svg

Generates AWS credentials for roles using STS and writes them to `~/.aws/credentials`

Usage

Simple pipe a SAML assertion into awssaml

# create credentials from saml assertion

$ oktaauth -u joebloggs | ./aws_role_credentials –profile dev

Options

--profile

Use a specific profile in your credential file (e.g. Development). Defaults to sts.

--region

The region to use. Overrides config/env settings. Defaults to us-east-1.

Thanks

Thanks to Quint Van Deman of AWS for demonstrating how to do this. https://blogs.aws.amazon.com/security/post/Tx1LDN0UBGJJ26Q/How-to-Implement-Federated-API-and-CLI-Access-Using-SAML-2-0-and-AD-FS

Authors

  • Peter Gillard-Moss

History

0.1.0 (2015-01-11)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws_role_credentials-0.1.0.tar.gz (15.4 kB view details)

Uploaded Source

Built Distributions

aws_role_credentials-0.1.0-py2.6.egg (10.4 kB view details)

Uploaded Source

File details

Details for the file aws_role_credentials-0.1.0.tar.gz.

File metadata

File hashes

Hashes for aws_role_credentials-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9e4fefb1221523449ee0c4643ff0170e6936d141109a3639fe492fcc1aecf776
MD5 4ef6cbe88fb2f3016cf1c552621bcdc0
BLAKE2b-256 18916412c00a8c3fbdeb92924af0743867e3468608e27656ecdbf5ad60d7e132

See more details on using hashes here.

File details

Details for the file aws_role_credentials-0.1.0.linux-x86_64.tar.gz.

File metadata

File hashes

Hashes for aws_role_credentials-0.1.0.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 c19164c7a599913b57925e6e83b2b962381ed0b84cd30f5aa50831983a7243c0
MD5 ed3011a9fc67bc07edddb6af2296c640
BLAKE2b-256 51052d0ea73271b466546579e138a1ae88cd9a2f03d131402e55e4ec25296108

See more details on using hashes here.

File details

Details for the file aws_role_credentials-0.1.0-py2.6.egg.

File metadata

File hashes

Hashes for aws_role_credentials-0.1.0-py2.6.egg
Algorithm Hash digest
SHA256 8a6fed02c68c5bd793e2c145d657702fbc5733b01d34b6e9b4a8f9220d4e339f
MD5 248e3b3b9651a297077aa629bb3b1812
BLAKE2b-256 780c68096be4dfb622882d9188264e9f19a354def1aa857d23af159132e1ba06

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page