Skip to content

[FEATURE] Add Bedrock Guardrail to Claude Gateway #81777

Description

@yasvanthav

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

Hi,

I want to use Bedrock Guardrail in Claude Gateway configuration. Please suggest? I tried below configuration but not worked. My security team requirement is to use Bedrock Guardrails.
Tested with gateway version -2.1.220.

upstreams:
- provider: bedrock
region: us-east-2
auth: {} # empty = use the EC2 instance profile from Step 2
guardrailConfig:
guardrailIdentifier: ""
guardrailVersion: "1"
trace: "enabled"

error:

gateway-1 | claude gateway: [
gateway-1 | {
gateway-1 | "code": "unrecognized_keys",
gateway-1 | "keys": [
gateway-1 | "guardrailConfig"
gateway-1 | ],
gateway-1 | "path": [
gateway-1 | "upstreams",
gateway-1 | 0
gateway-1 | ],
gateway-1 | "message": "Unrecognized key(s) in object: 'guardrailConfig'"
gateway-1 | }
gateway-1 | ]
gateway-1 exited with code 1

Proposed Solution

upstreams:
- provider: bedrock
region: us-east-2
auth: {} # empty = use the EC2 instance profile from Step 2
guardrailConfig:
guardrailIdentifier: ""
guardrailVersion: "1"
trace: "enabled"

Alternative Solutions

No response

Priority

Critical - Blocking my work

Feature Category

Configuration and settings

Use Case Example

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions