AWS Bedrock

Overview

Protect your AWS Bedrock integration with LockLLM's transparent proxy layer. Secure Claude, Llama, and all AWS-hosted foundation models with automatic prompt injection scanning.

Quick Start

import { BedrockRuntimeClient, InvokeModelCommand } from '@aws-sdk/client-bedrock-runtime'

// Configure with LockLLM proxy endpoint
const client = new BedrockRuntimeClient({
  region: 'us-east-1',
  endpoint: 'https://api.lockllm.com/v1/proxy/bedrock',
  credentials: {
    accessKeyId: process.env.LOCKLLM_API_KEY, // Your LockLLM API key
    secretAccessKey: 'not-used'
  }
})

const response = await client.send(new InvokeModelCommand({
  modelId: 'anthropic.claude-opus-4.5',
  body: JSON.stringify({ prompt: userInput })
}))

Features

  • Foundation Models: Claude, Llama, and AWS-hosted models
  • Enterprise Security: Compatible with AWS security requirements
  • Regional Support: Works across all AWS regions
  • Automatic Scanning: Real-time security protection

Getting Started

Generate API keys in the dashboard and visit the documentation.