Security Credentials

Here, you have two options:

  1. Declare as a server on your $HOME/.m2/settings.xml:
    <settings xmlns=""
          <username>[your aws access key]</username>
          <password>[your aws secret key, possibly encrypted]</password>

    You can declare domains other than - All you need to do is to set beanstalk.serverId as well. For more information, check the Maven docs on Password Encryption

    It **DOES** support password encryption. In fact, it throws up an alert whenever it finds an unencrypted password.

  2. Declaring as Environment Variables:
    $ export AWS_ACCESS_KEY_ID="<your aws access key>"
    $ export AWS_SECRET_KEY="<your aws secret key>"
    $ mvn beanstalk:upload-source-bundle