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 Details
-
HEADER_AWS_ASSET_ID
Headers param with the embedding ApiKey when dealing with a embedding service provider. -
HEADER_AWS_SECRET_ID
-
-
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.
-