Create temporary credentials for AWS SSO-OIDC.
Project description
Overview
Create temporary credentials for AWS SSO-OIDC.
Prerequisites
Python >= 3.6
boto3 >= 1.17.78 (installed as a dependency)
Required (Positional) Arguments
Position 1: start_url (the start URL for your AWS SSO login)
Optional (Keyword) Arguments
- client_name
Description: Arbitrary name of the SSO client to create.
Type: String
Default: ssoclient
- region
Description: Your AWS region.
Type: String
Default: us-east-1
Usage
Installation:
pip3 install aws-ssooidc
# or
python3 -m pip install aws-ssooidc
In Python3:
import aws_ssooidc.aws_ssooidc as sso
response = sso.gettoken('<start_url>')
access_token = response['accessToken']
In BASH:
python3 -c "
import aws_ssooidc.aws_ssooidc as sso
response = sso.gettoken('<start_url>')
access_token = response['accessToken']
"
Changelog
2021.1.0.2
Updated README.
2021.1.0.1
Added verification URI printout for devices which cannot launch browsers automatically.
2021.1.0.0
Initial release.
Current version: 2021.1.0.2
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
aws_ssooidc-2021.1.0.2.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for aws_ssooidc-2021.1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4a88f9b999266699f4a7020630705dd2880a358f6f7f4be37e776ba711106c1 |
|
MD5 | f4e0c79bd73b419fd33cfcded1ea6c2b |
|
BLAKE2b-256 | 87ec74af1018d18c4eb041f854f678a70fe5b270ba759a230df69c0d39f9996c |