Update Access Key and Secret
  1. Log in to the AWS Management Console at
  2. In the menu at top-right, select “Security Credentials”
  3. Select “Access Keys”
  4. Click “Create New Key”
  5. Download the key file or copy-paste the values into the commands below
  6. From your command line, run - heroku config:set AWS_KEY=access_key_from_file AWS_SECRET=secret_key_from_file
  7. Verify that the environment variables were set correctly with heroku config