Query: partial credentials found in shared-credentials-file, missing: aws_secret_access_key
Explanation:
This error message suggests that the AWS shared credentials file is missing the aws_secret_access_key
field, which is required to authenticate with the AWS services.
Example:
Here is an example of how the AWS shared credentials file should look like:
[profile_name] aws_access_key_id = YOUR_ACCESS_KEY aws_secret_access_key = YOUR_SECRET_ACCESS_KEY
In the example above, replace YOUR_ACCESS_KEY with your actual AWS access key ID and YOUR_SECRET_ACCESS_KEY with your actual AWS secret access key. These credentials can be obtained from the AWS IAM console.
Make sure to save the file with the correct permissions and location. By default, the AWS SDKs and CLI tools use the file located at ~/.aws/credentials
on Linux, macOS, or Unix, and C:\Users\USERNAME\.aws\credentials
on Windows.