public static enum AWSConfigConstants.CredentialProviderType extends Enum<AWSConfigConstants.CredentialProviderType>
| Enum Constant and Description |
|---|
AUTO
A credentials provider chain will be used that searches for credentials in this order:
ENV_VARIABLES, SYS_PROPERTIES, PROFILE in the AWS instance metadata.
|
BASIC
Look for AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY into passed configuration
|
ENV_VARIABLES
Look for the environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY to create AWS credentials.
|
PROFILE
Use a AWS credentials profile file to create the AWS credentials.
|
SYS_PROPERTIES
Look for Java system properties aws.accessKeyId and aws.secretKey to create AWS credentials.
|
| Modifier and Type | Method and Description |
|---|---|
static AWSConfigConstants.CredentialProviderType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AWSConfigConstants.CredentialProviderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AWSConfigConstants.CredentialProviderType BASIC
public static final AWSConfigConstants.CredentialProviderType ENV_VARIABLES
public static final AWSConfigConstants.CredentialProviderType SYS_PROPERTIES
public static final AWSConfigConstants.CredentialProviderType PROFILE
public static final AWSConfigConstants.CredentialProviderType AUTO
public static AWSConfigConstants.CredentialProviderType[] values()
for (AWSConfigConstants.CredentialProviderType c : AWSConfigConstants.CredentialProviderType.values()) System.out.println(c);
public static AWSConfigConstants.CredentialProviderType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019. All rights reserved.