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

Method __init__

awscli/botocore/credentials.py:2650–2665  ·  view source on GitHub ↗
(
        self,
        token_cache,
        load_config,
        profile_name,
        client_creator,
    )

Source from the content-addressed store, hash-verified

2648 METHOD = 'login'
2649
2650 def __init__(
2651 self,
2652 token_cache,
2653 load_config,
2654 profile_name,
2655 client_creator,
2656 ):
2657 super().__init__()
2658 if token_cache is None:
2659 token_cache = JSONFileCache(get_login_token_cache_directory())
2660 self._token_cache = token_cache
2661
2662 self._profile_name = profile_name
2663 self._load_config = load_config
2664 self._client_creator = client_creator
2665 self._feature_ids = ('CREDENTIALS_PROFILE_LOGIN', 'CREDENTIALS_LOGIN')
2666
2667 def load(self):
2668 loaded_config = self._load_config()

Callers

nothing calls this directly

Calls 3

JSONFileCacheClass · 0.90
__init__Method · 0.45

Tested by

no test coverage detected