[FEATURE] Add Bedrock Guardrail to Claude Gateway
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] 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: "<ID>"
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: "<ID>"
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_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗