public class CredentialsFactory extends Object
| Constructor and Description |
|---|
CredentialsFactory() |
| Modifier and Type | Method and Description |
|---|---|
com.amazonaws.auth.AWSCredentialsProvider |
create(org.apache.maven.wagon.authentication.AuthenticationInfo authenticationInfo)
Creates an
AWSCredentialsProvider from the passed AuthenticationInfo. |
public com.amazonaws.auth.AWSCredentialsProvider create(org.apache.maven.wagon.authentication.AuthenticationInfo authenticationInfo)
AWSCredentialsProvider from the passed AuthenticationInfo. This should contain the
username and password used to authenticate when connecting to AWS .
When authenticationInfo is passed as null, a DefaultAWSCredentialsProviderChain will be
used. This is an authentication provider that gets the credentials from Java environment properties, system
environment variables or other global locations. See the DefaultAWSCredentialsProviderChain documentation
for details.
authenticationInfo - an AuthenticationInfo containing the AWS credentials to useAWSCredentialsProvider with the credentials associated to the passed
authenticationInfoCopyright © 2019. All rights reserved.