Skip to content
This repository has been archived by the owner on Apr 30, 2019. It is now read-only.

Help with aws.accessKeyId and aws.secretKey system properties #35

Open
fkjaekel opened this issue Jan 21, 2015 · 0 comments
Open

Help with aws.accessKeyId and aws.secretKey system properties #35

fkjaekel opened this issue Jan 21, 2015 · 0 comments

Comments

@fkjaekel
Copy link

Hi,

Great project, congratulations.

I was able to use it normally setting the credentials in .m2/settings.xml, but to avoid having to configure it on the computers of all developers from my team, I was thinking about maven setting the aws.accessKeyId and aws.secretKey system properties.

Is it possible?

I tried this:

    <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.18.1</version>
                <configuration>
                    <systemPropertyVariables>
                        <aws.accessKeyId>xxx</aws.accessKeyId>
                        <aws.secretKey>xxx</aws.secretKey>
                    </systemPropertyVariables>
                </configuration>
            </plugin>

But I keep getting the "Unable to load AWS credentials from any provider in the chain" message.

Thanks in advance

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant