Skip to content

added AWS SigV4 support for MCP Servers and Agents - #120

Merged
LorenzoScebba merged 4 commits into
mainfrom
feat/aws-sigv4
Aug 11, 2026
Merged

added AWS SigV4 support for MCP Servers and Agents#120
LorenzoScebba merged 4 commits into
mainfrom
feat/aws-sigv4

Conversation

@gperanich

@gperanich gperanich commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Overview

Added AWS SigV4 upstream authentication support to Agents and MCP Servers, in both directions.

What it translates

AI Gateway config.upstream.auth (type: aws) ⇄ the auth record (provider: aws_iam + nested aws_iam options) on the ai-a2a-proxy / ai-mcp-proxy plugins. Also wired agent config.proxy → proxy_config (MCP already had it). Core work is a field-name renaming (access_key_id↔aws_access_key_id, region↔aws_region, type: aws↔provider: aws_iam).

New files:

  • internal/aigw/upstream.go — UpstreamConfig/UpstreamAuth structs
  • internal/aimap/upstreamauth.go — shared constants + AWSIAMAuthKeys rename table (single source of truth so directions can't drift)
  • convert/upstream.go — upstreamAuthBlock (forward)
  • revert/upstream.go — upstreamFromConfig (reverse)

@gperanich
gperanich requested a review from a team as a code owner August 10, 2026 03:14
@LorenzoScebba
LorenzoScebba merged commit dd28fa1 into main Aug 11, 2026
5 checks passed
@LorenzoScebba
LorenzoScebba deleted the feat/aws-sigv4 branch August 11, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants