Documentation
ReferenceAuthoring Portal ReferenceIntegrationsRAG/Content Retrieval IntegrationsCustom Javascript Content Retrieval

AWS Bedrock SigV4 Signing

To make requests to AWS Bedrock services using a Custom Content Retriever Function, you will need to sign your request with a signature conforming to AWS Signature Version 4.

To enable this, Custom RAG functions can utilise the following fetch() option:

  var response = await fetch(
    ...
    ...
    // Fetch Options
    {
        ...
        ...
        // Sign the request using Amazon's Signature V4 algorithm
        awsSigV4: {
          AccessKey: "your_access_key",
          SecretKey: "your_secret_key",
          Region: "ap-southeast-2",
          Service: "bedrock"
        }
    }
  )