MCPcopy Index your code
hub / github.com/aws/aws-cli / get_credentials

Method get_credentials

awscli/botocore/session.py:465–478  ·  view source on GitHub ↗

Return the :class:`botocore.credential.Credential` object associated with this session. If the credentials have not yet been loaded, this will attempt to load them. If they have already been loaded, this will return the cached credentials.

(self)

Source from the content-addressed store, hash-verified

463 )
464
465 def get_credentials(self):
466 """
467 Return the :class:`botocore.credential.Credential` object
468 associated with this session. If the credentials have not
469 yet been loaded, this will attempt to load them. If they
470 have already been loaded, this will return the cached
471 credentials.
472
473 """
474 if self._credentials is None:
475 self._credentials = self._components.get_component(
476 'credential_provider'
477 ).load_credentials()
478 return self._credentials
479
480 def get_auth_token(self, **kwargs):
481 """

Callers 13

create_clientMethod · 0.95
get_auth_instanceMethod · 0.45
write_git_parametersMethod · 0.45
sign_requestMethod · 0.45
__init__Method · 0.45
installMethod · 0.45
_lookup_credentialsMethod · 0.45
_run_mainMethod · 0.45
_run_mainMethod · 0.45

Calls 2

load_credentialsMethod · 0.80
get_componentMethod · 0.45