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

Method _get_credentials

awscli/botocore/utils.py:586–592  ·  view source on GitHub ↗
(self, role_name, token=None)

Source from the content-addressed store, hash-verified

584 ).text
585
586 def _get_credentials(self, role_name, token=None):
587 r = self._get_request(
588 url_path=self._URL_PATH + role_name,
589 retry_func=self._needs_retry_for_credentials,
590 token=token,
591 )
592 return json.loads(r.text)
593
594 def _is_invalid_json(self, response):
595 try:

Callers 1

Calls 1

_get_requestMethod · 0.80

Tested by

no test coverage detected