davidmoten/aws-maven-plugin

Support for server credentials in settings.xml

Open

#1 opened on Mar 16, 2017

View on GitHub
 (3 comments) (1 reaction) (0 assignees)Java (13 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (29 stars)
PR merge metrics
 (PR metrics pending)

Description

The handling of credentials could be improved. Instead of directly providing the keys in the plugin configuration.

Use the DefaultAWSCredentialsProviderChain

This means that you can use the .aws/credentials shared with the aws command line tool from Amazon. Really userfriendly. Perhaps it should be explicitly turned on by referring directly to a AWS configuration profile name in a property.

Standard maven credential handling

it is possible to use the standard credential handling in Maven. For example in settings.xml you can write something like

<server>
            <id>aws.amazon.com</id>
            <username>XXXYYYACCESS_KEYKLFJKELw</username>
            <password>jkshfdakjlsdfSECRET_KEYlkdjslkfds</password>
</server>

and have a property where you can refer to the server definition id.

Contributor guide