Support for server credentials in settings.xml
xylifyx2 opened this issue · comments
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.
Good ideas thanks. I'll have a look. PR welcome too.
I've added the ability to use a serverId
in the plugin configuration. Deployed to Maven Central as 0.2.4.
I'll have a look at the DefaultAWSCredentialsProviderChain
method a bit later.
PR welcome for DefaultAWSCredentialsProviderChain
support