Skip to main content

Get AWS STS tokens from Okta SSO

Project description

Generate temporary AWS credentials via Okta.

WARNING: Python2.7 and Python3.5 support will be dropped in a near time, pin tokendito version to current if you want to keep it working in automation.

NOTE: Advanced users may shorten the tokendito interaction to a single command.

Use tokendito to generate temporary AWS credentials via Okta for programmatic authentication to AWS. Tokendito signs you in to Okta and uses your existing AWS integration to broker your SAML assertion into your AWS accounts, returning STS tokens into your local ~/.aws/credentials file.


  • Python 2.7.10+

  • Your AWS account is federated in Okta

tokendito is compatible with both python 2 and 3, and can be installed with either pip or pip3.

Getting started

  1. Install (via PyPi): pip install tokendito

  2. Run tokendito --configure.

  3. Run tokendito.

Have multiple Okta tiles to switch between? View our multi-tile guide.

Tips, tricks, troubleshooting, examples, and more docs are here! Also, contributions are welcome!

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

tokendito-1.3.1.tar.gz (21.3 kB view hashes)

Uploaded source

Built Distribution

tokendito-1.3.1-py2.py3-none-any.whl (23.6 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page