Skip to content

Add --kms-key-arn flag to add gateway #1653

Description

@jariy17

Summary

The AWS API CreateGateway accepts a kmsKeyArn parameter for encrypting gateway configuration at rest, but the CLI's add gateway command does not expose it.

Evidence

  • AWS: CreateGateway.kmsKeyArn — "The ARN of the AWS KMS key used to encrypt data associated with the gateway."
  • CLI: AgentCoreGatewaySchema (src/schema/schemas/mcp.ts:1065) has no KMS field; no flag in GatewayPrimitive.ts.

Proposal

Add an optional --kms-key-arn <arn> flag (no default) to add gateway, wire it to the schema and CDK gateway construct. Matches the existing pattern on add dataset, add evaluator, add policy-engine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions