No stash entries found. missing secret_access_key failed to deploy


I am trying to deploy an app to AWS Beanstalk using Travis. Each time it tries to build it fails to deploy due to missing access or secret key.

Both keys have been securely added to Travis CI and encrypted. Different solutions has been applied but no success.

My travis build file contains the ride code and information.

The output is always the same on Travis. Its towards the end that the message of ‘failed to deploy’ appears.

I must have spent hours reading and trying to fix this.

Please can you help, i am new to this and I am really struggling to go beyond this point.