public class SigV4AuthProvider extends Object implements com.datastax.driver.core.AuthProvider
| Modifier and Type | Class and Description |
|---|---|
class |
SigV4AuthProvider.SigV4Authenticator
This authenticator performs SigV4 MCS authentication.
|
| Constructor and Description |
|---|
SigV4AuthProvider()
Create a new Provider, using the
DefaultAWSCredentialsProviderChain as its credentials provider.
|
SigV4AuthProvider(@NotNull com.amazonaws.auth.AWSCredentialsProvider credentialsProvider,
String region)
Create a new Provider, using the specified AWSCredentialsProvider and region.
|
SigV4AuthProvider(String region)
Create a new Provider, using the specified region.
|
| Modifier and Type | Method and Description |
|---|---|
com.datastax.driver.core.Authenticator |
newAuthenticator(InetSocketAddress inetSocketAddress,
String s) |
public SigV4AuthProvider()
public SigV4AuthProvider(String region)
region - the region (e.g. us-east-1) to use for signing. A
null value indicates to use the AWS_REGION environment
variable, or the "aws.region" system property to configure it.public SigV4AuthProvider(@NotNull
@NotNull com.amazonaws.auth.AWSCredentialsProvider credentialsProvider,
String region)
credentialsProvider - the credentials provider used to obtain signature materialregion - the region (e.g. us-east-1) to use for signing. A
null value indicates to use the AWS_REGION environment
variable, or the "aws.region" system property to configure it.public com.datastax.driver.core.Authenticator newAuthenticator(InetSocketAddress inetSocketAddress, String s) throws com.datastax.driver.core.exceptions.AuthenticationException
newAuthenticator in interface com.datastax.driver.core.AuthProvidercom.datastax.driver.core.exceptions.AuthenticationExceptionCopyright © 2020 Amazon Web Services. All rights reserved.