Cron [ERROR] No AWS credentials found - check your credentials

user3382916

I scheduled a cron job for graffiti-monkey:

15 0  * * * /home/ubuntu/scripts/graffiti_monkey.sh 

but its not executing and log says

[ERROR] No AWS credentials found - check your credentials

How can I give aws crendentials to the .sh file so that cron will execute it?

Bas Peeters

The AWS Command Line Interface documentation describes a few ways to store credentials.

Try executing aws configure in your terminal (as the user running the cron):

$ aws configure
AWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLE
AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Default region name [None]: us-west-2
Default output format [None]: json

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

aws credentials not found error

From Dev

aws no credentials error

From Dev

Terraform AWS credentials file not found

From Dev

Working on DynamoDB in your computer without AWS credentials

From Dev

Twitter::Error::Forbidden - Unable to verify your credentials

From Dev

connect to aws using boto - credentials error

From Dev

aws credentials error while using dynamic inventory

From Dev

Error setting up AWS credentials in Kotlin

From Dev

Check GitHub credentials validity

From Dev

Is there a way to check credentials with Firebase?

From Dev

Is there a way to check the credentials in WebDav?

From Dev

TADOConnection check for incorrect Credentials

From Dev

Is there a way to check credentials with Firebase?

From Dev

How can I check if the AWS SDK was provided with credentials?

From Dev

AWS Credentials folder location

From Dev

AWS Java SDK credentials

From Dev

aws credentials not loading on mac

From Dev

When using Cognito credentials with AWS in a browser (javascript), keep getting "missing credentials" error

From Dev

aws-sdk upload with STS credentials - 403 error

From Dev

IAM credentials error 404

From Dev

Gradle DSL method not found: 'credentials()'

From Dev

How to setup AWS Credentials in Python

From Dev

AWS ProfileCredentialsProvider not able to get credentials

From Dev

Refresh of AWS.config.credentials

From Dev

How to setup AWS Credentials in Python

From Dev

Turning an AWS credentials CSV into an object

From Dev

AWS SES send mail with credentials

From Dev

Refresh of AWS.config.credentials

From Dev

Twitter oauth2/invalidate_token error "Unable to verify your credentials", "authenticity_token_error"

Related Related

HotTag

Archive