Unable to locate credentials. You can configure credentials by running aws configure
(Redirected from Unable to locate credentials. You can configure credentials by running)
Jump to navigation
Jump to search
Unable to locate credentials. You can configure credentials by running "aws configure".
Solution: check your default profile is configured in.aws/config
or if using different profile you have exported your AWS_PROFILE (echo $AWS_PROFILE) variable with your profile name:export AWS_PROFILE="your_profile"
Related[edit]
aws configure list-profiles
aws sts get-caller-identity
- Error when retrieving token from sso: Token has expired and refresh failed
See also[edit]
Advertising: