Expand description
Native AWS Bedrock (Amazon Titan) embedding provider (sync ureq + SigV4).
AWS credentials for the hand-rolled SigV4 signers (Bedrock embeddings here,
Bedrock extraction in mentedb-extraction).
Resolution order, checked once at construction:
- Static keys:
AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY(andAWS_SESSION_TOKENfor temporary credentials). - The container credentials endpoint used by ECS task roles and EKS Pod
Identity:
AWS_CONTAINER_CREDENTIALS_FULL_URI(withAWS_CONTAINER_AUTHORIZATION_TOKENor_TOKEN_FILEwhen set), elseAWS_CONTAINER_CREDENTIALS_RELATIVE_URIon169.254.170.2.
Endpoint credentials are temporary, so they are cached and fetched again shortly before they expire. Profiles and EC2 instance metadata are not resolved; export keys or run in a container for those.
Structsยง
- AwsCredential
Source - Where request signing gets its credentials from. Cheap to clone and safe to share across threads; endpoint credentials are cached between calls.
- AwsCredentials
- A resolved set of AWS credentials.
- Credential
Refresh Config - Settings for fetching credentials from the container endpoint.