Constructs an instead of the TokenProvider.
The access key ID part of the AWS access keys
The secret access key part of the AWS access keys
Private
Readonly
#headersStatic
parseInternal
Turns a string embedding api key into an EmbeddingAPIKeyHeaderProvider if necessary. Throws an error if
it's not a string, nullish, or a EmbeddingHeadersProvider
already.
Not intended for external use.
An embedding headers provider which translates AWS access keys into the appropriate authentication headers for AWS-based embedding providers (bedrock).
Sets the headers
x-embedding-access-id
andx-embedding-secret-id
.Example
See
EmbeddingHeadersProvider