The AWS keys should be moved out into the maven settings file http://maven.apache.org/settings.html filters can then be used to replace values in the test configurations http://www.sonatype.com/books/maven-book/reference/resource-filtering-sect-description.html