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[source]

Bases: botocore.credentials.ProfileProviderBuilder

Extends the botocore profile provider builder to support AWS SSO.

__init__(session, cache=None, region_name=None, sso_token_cache=None)[source]

Instantiate class.

providers(profile_name, disable_env_vars=False)[source]

Return list of providers.

__new__(**kwargs)
class runway.aws_sso_botocore.credentials.SSOCredentialFetcher[source]

Bases: botocore.credentials.CachedCredentialFetcher

AWS SSO credential fetcher.

__init__(start_url, sso_region, role_name, account_id, client_creator, token_loader=None, cache=None, expiry_window_seconds=None)[source]

Instantiate class.

__new__(**kwargs)
class runway.aws_sso_botocore.credentials.SSOProvider[source]

Bases: botocore.credentials.CredentialProvider

AWS SSO credential provider.

__init__(load_config, client_creator, profile_name, cache=None, token_cache=None)[source]

Instantiate class.

load()[source]

Load AWS SSO credentials.

__new__(**kwargs)