Block requests or responses that violates guardrails policiesv3.11+

Configure the AI AWS Guardrails plugin to block requests or responses that violates guardrails policies predefined on AWS.

Prerequisites

  • You have an AWS Bedrock Guradrails policy and access to AWS Bedrock Guradrails service.

  • You have enabled an AI Proxy or AI Proxy Advanced plugin.

Environment variables

  • GUARDRAILS_ID: The guardrail identifier used in the request to apply the guardrail

  • GUARDRAILS_VERSION: The guardrail version used in the request to apply the guardrail

  • AWS_REGION: The AWS region where the guardrail is deployed

  • AWS_ACCESS_KEY_ID: The AWS access key ID used to authenticate the request

  • AWS_SECRET_ACCESS_KEY: The AWS secret access key used to authenticate the request

Set up the plugin

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!