Skip to main content

AWS Process Credential Providers.

Project description

A collection of process-based credential providers to be used with the AWS CLI and related tools.

SAML Forms-Based Authentication

If you have a SAML identity provider, you can use awsprocesscreds-saml to configure programmatic access to your AWS resources. It has four required arguments:

  • -e / --endpoint - Your SAML idp endpoint.

  • -u / --username - Your SAML username.

  • -p / --provider - The name of your SAML provider. Currently okta and adfs are supported.

  • -a / --role-arn- The role arn you wish to assume. Your SAML provider must be configured to give you access to this arn.

This will cache your credentials by default, which will allow you to run multiple commands without having to enter your password each time. You can disable the cache by specifying --no-cache.

Additionally, you can show logs by specifying -v or --verbose.

To configure this provider, you need create a profile using the credential_process config variable. See the AWS CLI Config docs for more details on this config option.

Example okta configuration:

[profile okta]
region = us-west-2
credential_process = awsprocesscreds-saml -e https://example.okta.com/home/amazon_aws/blob/123 -u 'monty@example.com' -p okta -a arn:aws:iam::123456789012:role/okta-dev

Example adfs configuration:

[profile adfs]
region = us-west-2
credential_process = awsprocesscreds-saml -e 'https://corp.example.com/adfs/ls/IdpInitiatedSignOn.aspx?loginToRp=urn:amazon:webservices' -u Monty -p adfs -a arn:aws:iam::123456789012:role/ADFS-Dev

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

awsprocesscreds-0.0.1.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

awsprocesscreds-0.0.1-py2.py3-none-any.whl (19.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file awsprocesscreds-0.0.1.tar.gz.

File metadata

File hashes

Hashes for awsprocesscreds-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f8b1757144a45d4950cdf1bf3b39c45732bc6118fca1feb548338b7720aeb791
MD5 10f499c5eca7e48e59ab1ed7d5b8af5e
BLAKE2b-256 307bf4a8e01aa80d96bf0524abd6e09d2a8ad658d92649df0536e4c9b8f3425e

See more details on using hashes here.

File details

Details for the file awsprocesscreds-0.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for awsprocesscreds-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1cb98443a24395ab8615e12134092c5d2bf3251c656d3128a238d062f05af339
MD5 9346751d1dda827137ec6b7539cc1086
BLAKE2b-256 df70a6349e9de0cfee564bc204820e27aa2a8898072f0caddbadbf9f2aabe314

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