Package com.datastax.astra.client.auth
Class AWSEmbeddingHeadersProvider
java.lang.Object
com.datastax.astra.client.auth.AWSEmbeddingHeadersProvider
- All Implemented Interfaces:
EmbeddingHeadersProvider
Implementation of the Embedding Auth Provider for AWS.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionBuild the Header for this provider.
-
Field Details
-
HEADER_AWS_ASSET_ID
Headers param with the embedding ApiKey when dealing with a embedding service provider. -
HEADER_AWS_SECRET_ID
Headers param with the embedding ApiKey when dealing with a embedding service provider.
-
-
Constructor Details
-
AWSEmbeddingHeadersProvider
Constructor.- Parameters:
accessId
- the accessId to use for the embedding provider.secretId
- the secretId to use for the embedding provider.
-
-
Method Details
-
getHeaders
Build the Header for this provider.- Specified by:
getHeaders
in interfaceEmbeddingHeadersProvider
- Returns:
- headers to use for the embedding provider.
-