Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/aws/aws-cli
/ NoCredentialsError
Class
NoCredentialsError
awscli/botocore/exceptions.py:149–154 ·
view source on GitHub ↗
No credentials could be found.
Source
from the content-addressed store, hash-verified
147
148
149
class
NoCredentialsError(BotoCoreError):
150
""
"
151
No credentials could be found.
152
""
"
153
154
fmt =
'Unable to locate credentials'
155
156
157
class
NoAuthTokenError(BotoCoreError):
Callers
10
raise_exception
Method · 0.90
test_no_credentials_error_with_yaml_format
Method · 0.90
test_error_codes_without_error_suffix
Method · 0.90
_get_credentials
Method · 0.90
add_auth
Method · 0.90
add_auth
Method · 0.90
add_auth
Method · 0.90
add_auth
Method · 0.90
add_auth
Method · 0.90
call
Function · 0.90
Calls
no outgoing calls
Tested by
3
raise_exception
Method · 0.72
test_no_credentials_error_with_yaml_format
Method · 0.72
test_error_codes_without_error_suffix
Method · 0.72