public static class AwsIamAuthenticationOptions.AwsIamAuthenticationOptionsBuilder extends Object
AwsIamAuthenticationOptions.| Modifier and Type | Method and Description |
|---|---|
AwsIamAuthenticationOptions |
build()
Build a new
AwsIamAuthenticationOptions instance. |
AwsIamAuthenticationOptions.AwsIamAuthenticationOptionsBuilder |
credentials(com.amazonaws.auth.AWSCredentials credentials)
Configure static AWS credentials, required to calculate the signature.
|
AwsIamAuthenticationOptions.AwsIamAuthenticationOptionsBuilder |
credentialsProvider(com.amazonaws.auth.AWSCredentialsProvider credentialsProvider)
Configure an
AWSCredentialsProvider, required to calculate the
signature. |
AwsIamAuthenticationOptions.AwsIamAuthenticationOptionsBuilder |
endpointUri(URI endpointUri)
Configure an endpoint URI of the STS API, defaults to
https://sts.amazonaws.com/.
|
AwsIamAuthenticationOptions.AwsIamAuthenticationOptionsBuilder |
path(String path)
Configure the mount path, defaults to aws.
|
AwsIamAuthenticationOptions.AwsIamAuthenticationOptionsBuilder |
role(String role)
Configure the name of the role against which the login is being attempted.
|
AwsIamAuthenticationOptions.AwsIamAuthenticationOptionsBuilder |
serverId(String serverId)
Configure a server name (used for Vault-AWS-IAM-Server-ID) that is
included in the signature to mitigate the risk of replay attacks.
|
AwsIamAuthenticationOptions.AwsIamAuthenticationOptionsBuilder |
serverName(String serverName)
Configure a server name that is included in the signature to mitigate the risk
of replay attacks.
|
public AwsIamAuthenticationOptions.AwsIamAuthenticationOptionsBuilder path(String path)
path - must not be empty or null.this AwsIamAuthenticationOptions.AwsIamAuthenticationOptionsBuilder.public AwsIamAuthenticationOptions.AwsIamAuthenticationOptionsBuilder credentials(com.amazonaws.auth.AWSCredentials credentials)
credentials provider.credentials - must not be null.this AwsIamAuthenticationOptions.AwsIamAuthenticationOptionsBuilder.credentialsProvider(AWSCredentialsProvider)public AwsIamAuthenticationOptions.AwsIamAuthenticationOptionsBuilder credentialsProvider(com.amazonaws.auth.AWSCredentialsProvider credentialsProvider)
AWSCredentialsProvider, required to calculate the
signature. Alternatively, configure static credentials.credentialsProvider - must not be null.this AwsIamAuthenticationOptions.AwsIamAuthenticationOptionsBuilder.credentials(AWSCredentials)public AwsIamAuthenticationOptions.AwsIamAuthenticationOptionsBuilder role(String role)
role - must not be empty or null.this AwsIamAuthenticationOptions.AwsIamAuthenticationOptionsBuilder.public AwsIamAuthenticationOptions.AwsIamAuthenticationOptionsBuilder serverId(String serverId)
serverId - must not be null or empty.this AwsIamAuthenticationOptions.AwsIamAuthenticationOptionsBuilder.public AwsIamAuthenticationOptions.AwsIamAuthenticationOptionsBuilder serverName(String serverName)
serverName - must not be null or empty.this AwsIamAuthenticationOptions.AwsIamAuthenticationOptionsBuilder.public AwsIamAuthenticationOptions.AwsIamAuthenticationOptionsBuilder endpointUri(URI endpointUri)
endpointUri - must not be null.this AwsIamAuthenticationOptions.AwsIamAuthenticationOptionsBuilder.public AwsIamAuthenticationOptions build()
AwsIamAuthenticationOptions instance.AwsIamAuthenticationOptions.Copyright © 2016–2020 Pivotal Software, Inc.. All rights reserved.