This package implements an authentication plugin for the open-source Datastax Java Driver for Apache Cassandra. The driver enables you to add authentication information to your API requests using the AWS Signature Version 4 Process (SigV4). Using the plugin, you can provide users and applications short-term credentials to access Amazon Keyspaces (for Apache Cassandra) using AWS Identity and Access Management (IAM) users and roles. The plugin depends on the AWS SDK for Java. It uses AWSCredentialsProvider to obtain credentials. Because the IAuthenticator interface operates at the level of InetSocketAddress, you must specify the service endpoint to use for the connection. You can provide the Region in the constructor programmatically, via the AWS_REGION environment variable, or via the aws.region system property. Use the authentication plugin for the open-source DataStax Java Driver for Cassandra to access Amazon Keyspaces.
Features
- Plugin for the open-source DataStax Java Driver for Apache Cassandra
- Use the authentication plugin for the open-source DataStax Java Driver for Cassandra to access Amazon Keyspaces
- The first step is to get an Amazon digital certificate to encrypt your connections using Transport Layer Security (TLS)
- Before you can start using the plugin, you must configure the AWS Region that the plugin will use when authenticating
- You can use the AWS_REGION environment variable to match the endpoint that you are communicating with by setting it as part of your application start-up
- You can use the aws.region Java system property by specifying it on the command line