Generates AWS credentials for roles using STS
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file aws_role_credentials-0.1.0.tar.gz
.
File metadata
- Download URL: aws_role_credentials-0.1.0.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e4fefb1221523449ee0c4643ff0170e6936d141109a3639fe492fcc1aecf776 |
|
MD5 | 4ef6cbe88fb2f3016cf1c552621bcdc0 |
|
BLAKE2b-256 | 18916412c00a8c3fbdeb92924af0743867e3468608e27656ecdbf5ad60d7e132 |
File details
Details for the file aws_role_credentials-0.1.0.linux-x86_64.tar.gz
.
File metadata
- Download URL: aws_role_credentials-0.1.0.linux-x86_64.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c19164c7a599913b57925e6e83b2b962381ed0b84cd30f5aa50831983a7243c0 |
|
MD5 | ed3011a9fc67bc07edddb6af2296c640 |
|
BLAKE2b-256 | 51052d0ea73271b466546579e138a1ae88cd9a2f03d131402e55e4ec25296108 |
File details
Details for the file aws_role_credentials-0.1.0-py2.6.egg
.
File metadata
- Download URL: aws_role_credentials-0.1.0-py2.6.egg
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a6fed02c68c5bd793e2c145d657702fbc5733b01d34b6e9b4a8f9220d4e339f |
|
MD5 | 248e3b3b9651a297077aa629bb3b1812 |
|
BLAKE2b-256 | 780c68096be4dfb622882d9188264e9f19a354def1aa857d23af159132e1ba06 |