Skip to main content

aws_ssooidc

Overview

Create temporary credentials with AWS SSO-OIDC access tokens.

Prerequisites

  • Python >= 3.6

  • boto3 (https://pypi.org/project/boto3/) >= 1.17.78

Required (Positional) Arguments

  • Position 1: sso_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’

  • timeout
    • Description: Number of tries before giving up.

    • Type: Integer

    • Default: 30

Usage

Installation:

pip3 install aws-ssooidc
# or
python3 -m pip install aws-ssooidc

In Python3:

import aws_ssooidc as sso

response = sso.gettoken('<sso_url>')
access_token = response['accessToken']

In BASH:

python [/path/to/]aws_ssooidc \
-u <sso_url>

Release files for aws_ssooidc 2024.1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws_ssooidc 2024.1.0.0
File Size Uploaded
aws_ssooidc-2024.1.0.0.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aws_ssooidc 2024.1.0.0
File Interpreter ABI Platform
aws_ssooidc-2024.1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.5 kB

Release files / aws_ssooidc-2024.1.0.0.tar.gz

Download URL aws_ssooidc-2024.1.0.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9f10027c2f0666d28d03c0e2602fa4da3dd1e3cf283733ac008f3155cf1ed280
BLAKE2b-256 checksum
How to use checksums
ed433e63051f0dd9e26648faed3b3709481335fc8f89d9c395d3f32e5b86383e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.12 Linux/5.4.109+

Release files / aws_ssooidc-2024.1.0.0-py3-none-any.whl

Download URL aws_ssooidc-2024.1.0.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11d594b5a496d3336a509ea8c408417dcbb91ce80ad4d53dd9c83589dd773309
BLAKE2b-256 checksum
How to use checksums
80bc82f171283e410fa28b4c16a352a93b70dc5372392783c5c62f83cf8b959f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.12 Linux/5.4.109+
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page