Skip to content

Comments

Support for AWS XKS v2#644

Open
bgrieder wants to merge 5 commits intodevelopfrom
xksv2
Open

Support for AWS XKS v2#644
bgrieder wants to merge 5 commits intodevelopfrom
xksv2

Conversation

@bgrieder
Copy link
Contributor

@bgrieder bgrieder commented Dec 16, 2025

Check PR review below for a description

@bgrieder bgrieder requested a review from Copilot December 16, 2025 18:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for AWS XKS (External Key Store) v2, enabling the KMS server to act as an XKS proxy that integrates with AWS KMS. The implementation includes AWS SigV4 authentication middleware, health status monitoring, key metadata retrieval, and encrypt/decrypt operations.

Key changes:

  • Added AWS XKS configuration options and parameter structures
  • Implemented SigV4 authentication middleware for AWS requests
  • Added XKS API endpoints (health status, key metadata, encrypt, decrypt)
  • Updated Rust toolchain from 1.90.0 to 1.91.0

Reviewed changes

Copilot reviewed 30 out of 31 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
rust-toolchain.toml Updated Rust version to 1.91.0
crate/server/src/routes/aws_xks/* New AWS XKS implementation including middleware, endpoints, and error handling
crate/server/src/config/* Added AWS XKS configuration parameters
crate/server/src/core/operations/{encrypt,decrypt}.rs Improved error handling to distinguish between authorization and not-found errors
crate/server/src/start_kms_server.rs Integrated AWS XKS service endpoints into server
Cargo.toml Added new dependencies for AWS signature verification and HTTP handling

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 37 out of 38 changed files in this pull request and generated 7 comments.

@bgrieder bgrieder marked this pull request as draft December 29, 2025 17:16
@bgrieder bgrieder changed the title Draft: Support for AWS XKS v2 Support for AWS XKS v2 Feb 12, 2026
@bgrieder bgrieder self-assigned this Feb 12, 2026
@bgrieder bgrieder requested a review from Manuthor February 12, 2026 16:55
@Manuthor Manuthor marked this pull request as ready for review February 12, 2026 20:09
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.

2 participants