MCPcopy Create free account
hub / github.com/aws/aws-cli / __init__

Method __init__

awscli/botocore/credentials.py:2367–2386  ·  view source on GitHub ↗
(
        self,
        load_config,
        client_creator,
        profile_name,
        cache=None,
        token_cache=None,
        token_provider=None,
    )

Source from the content-addressed store, hash-verified

2365 )
2366
2367 def __init__(
2368 self,
2369 load_config,
2370 client_creator,
2371 profile_name,
2372 cache=None,
2373 token_cache=None,
2374 token_provider=None,
2375 ):
2376 if token_cache is None:
2377 token_cache = JSONFileCache(self._SSO_TOKEN_CACHE_DIR)
2378 self._token_cache = token_cache
2379 self._token_provider = token_provider
2380 if cache is None:
2381 cache = {}
2382 self.cache = cache
2383 self._load_config = load_config
2384 self._client_creator = client_creator
2385 self._profile_name = profile_name
2386 self._feature_ids = set()
2387
2388 def _load_sso_config(self):
2389 loaded_config = self._load_config()

Callers

nothing calls this directly

Calls 1

JSONFileCacheClass · 0.90

Tested by

no test coverage detected