AI AWS Guardrails

AI License Required

Use IAM role assumptionv3.12+

Configure the AI AWS Guardrails plugin to use IAM role assumption instead of static credentials.

Note: The IAM role fields can be used with or without static AWS credentials (config.aws_access_key_id and config.aws_secret_access_key).

Prerequisites

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

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

Environment variables

  • AWS_GUARDRAILS_ID: The ID of the AWS Guardrails configuration.

  • AWS_GUARDRAILS_VERSION: The version of the AWS Guardrails configuration (e.g. DRAFT or 1).

  • AWS_REGION: The AWS region to use.

  • AWS_ASSUME_ROLE_ARN: The ARN of the IAM role to assume.

  • AWS_ROLE_SESSION_NAME: A unique identifier for the AWS role session.

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!