AWS Security ChangesHomeSearch

AWS kms high security documentation change

Service: kms · 2025-11-01 · Security-related high

File: kms/latest/developerguide/authorize-xks-key-store.md

Summary

Added cross-account configuration examples for VPC endpoint service permissions, including IAM principal requirements

Security assessment

The documentation now specifies mandatory principal ARN requirements for cross-account scenarios, including security guidance about using root ARNs. This prevents misconfiguration that could lead to unauthorized cross-account access to cryptographic infrastructure.

Diff

diff --git a/kms/latest/developerguide/authorize-xks-key-store.md b/kms/latest/developerguide/authorize-xks-key-store.md
index e4b87c37a..f5ca1c12d 100644
--- a//kms/latest/developerguide/authorize-xks-key-store.md
+++ b//kms/latest/developerguide/authorize-xks-key-store.md
@@ -46,0 +47,7 @@ Principals who create and manage an external key store need permissions to the c
+To create an external key store with [Amazon VPC endpoint service connectivity](./choose-xks-connectivity.html#xks-vpc-connectivity) and the VPC endpoint service is owned by a different AWS account, you'll also need the following permission:
+
+  * `ec2:DescribeVPCEndpointServices`
+
+
+
+
@@ -97 +104,8 @@ To allow AWS KMS to create an interface endpoint, use the [Amazon VPC console](h
-For example, the following AWS CLI command allows AWS KMS to connect to the specified VPC endpoint service in the US West (Oregon) (us-west-2) Region. Before using this command, replace the Amazon VPC service ID and AWS Region with valid values for your configuration.
+If your Amazon VPC endpoint service is owned by a different AWS account other than the AWS account owning the external key store (XKS), you’ll also need to allow XKS access to the VPC endpoint service. To do so, [allowlist the XKS AWS account ID as a principal](https://docs.aws.amazon.com/vpc/latest/privatelink/configure-endpoint-service.html#add-remove-permissions) for the Amazon VPC endpoint service.
+
+Same AWS account
+    
+
+When your VPC endpoint service is owned by the same AWS account as your external key store, you must add AWS KMS to the **Allow principals** list for your VPC endpoint service.
+
+The following example uses the [`modify-vpc-endpoint-service-permissions`](https://docs.aws.amazon.com/cli/latest/reference/ec2/modify-vpc-endpoint-service-permissions.html) AWS CLI command to allow AWS KMS to connect to the specified VPC endpoint service in the US West (Oregon) (us-west-2) Region. Before using this command, replace the Amazon VPC service ID and AWS Region with valid values for your configuration.
@@ -104,0 +119,16 @@ To remove this permission, use the [Amazon VPC console](https://docs.aws.amazon.
+
+Cross AWS account
+    
+
+When your VPC endpoint service is owned by the another AWS account, you must add both AWS KMS and your external key store to the **Allow principals** list for your VPC endpoint service.
+
+The following example uses the [`modify-vpc-endpoint-service-permissions`](https://docs.aws.amazon.com/cli/latest/reference/ec2/modify-vpc-endpoint-service-permissions.html) AWS CLI command to allow both AWS KMS and your external key store (XKS) to connect to the specified VPC endpoint service in the US West (Oregon) (us-west-2) Region. Before using this command, replace the Amazon VPC service ID, AWS Region, and IAM principal ARN with valid values for your configuration. The IAM principal should be replaced with a principal in the XKS owner AWS account.
+
+In this example, `arn:aws:iam::`123456789012`:role/`cks_role`` is the IAM principal in the XKS owner account, which will be used to create, update, or connect the XKS to your VPC endpoint service. If you would like to allow all principals in the XKS owner account to access your VPC endpoint service, you can specify `arn:aws:iam::`123456789012`:root`.
+    
+    
+    modify-vpc-endpoint-service-permissions
+    --service-id vpce-svc-12abc34567def0987
+    --add-allowed-principals '["cks.kms.us-west-2.amazonaws.com", "arn:aws:iam::123456789012:role/cks_role"]'
+
+To remove this permission, use the [Amazon VPC console](https://docs.aws.amazon.com/vpc/latest/privatelink/configure-endpoint-service.html#add-remove-permissions) or the [ModifyVpcEndpointServicePermissions](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyVpcEndpointServicePermissions.html) with the `RemoveAllowedPrincipals` parameter.