Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for server credentials in settings.xml #1

Open
xylifyx2 opened this issue Mar 16, 2017 · 3 comments
Open

Support for server credentials in settings.xml #1

xylifyx2 opened this issue Mar 16, 2017 · 3 comments

Comments

@xylifyx2
Copy link

xylifyx2 commented Mar 16, 2017

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.

@davidmoten
Copy link
Owner

Good ideas thanks. I'll have a look. PR welcome too.

@davidmoten
Copy link
Owner

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.

@davidmoten
Copy link
Owner

davidmoten commented May 31, 2018

PR welcome for DefaultAWSCredentialsProviderChain support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants