runway.aws_sso_botocore.credentials module

Botocore with support for AWS SSO credential assets.

runway.aws_sso_botocore.credentials.create_credential_resolver(session, cache=None, region_name=None)[source]

Create a default credential resolver.

This creates a pre-configured credential resolver that includes the default lookup chain for credentials.

class runway.aws_sso_botocore.credentials.ProfileProviderBuilder(session, cache=None, region_name=None, sso_token_cache=None)[source]

Bases: botocore.credentials.ProfileProviderBuilder

Extends the botocore profile provider builder to support AWS SSO.

Instantiate class.

providers(profile_name, disable_env_vars=False)[source]

Return list of providers.

class runway.aws_sso_botocore.credentials.SSOCredentialFetcher(start_url, sso_region, role_name, account_id, client_creator, token_loader=None, cache=None, expiry_window_seconds=None)[source]

Bases: botocore.credentials.CachedCredentialFetcher

AWS SSO credential fetcher.

Instantiate class.

class runway.aws_sso_botocore.credentials.SSOProvider(load_config, client_creator, profile_name, cache=None, token_cache=None)[source]

Bases: botocore.credentials.CredentialProvider

AWS SSO credential provider.

Instantiate class.

METHOD = 'sso'
load()[source]

Load AWS SSO credentials.