When you use the AWS API call projects sometime if you may get an error like "Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1", its looks like you didn't configure the AWS Access key and Secret key to give permission access the AWS applications.

Install the AWS-CLI tool in your local or cloud instance, then execute the command below,

$ aws configure

AWS Access Key ID [None]: AA*******XXXN
AWS Secret Access Key [None]: AA**************XXXX
Default region name [None]: us-east-1      
Default output format [None]: json
  • The first field is to  enter your Access key ID
  • The Second field is to enter your Secret key ID
  • The third field is to enter your region name which is going to be the default 
  • The fourth field is to enter the output format whether JSON or TEXT format