We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d4c710 commit 9825b46Copy full SHA for 9825b46
localstack-core/localstack/services/kms/provider.py
@@ -525,7 +525,7 @@ def replicate_key(
525
# CurrentKeyMaterialId is not returned in the ReplicaKeyMetadata. May be due to not being evaluated until
526
# the key has been successfully replicated as it does not show up in DescribeKey immediately either.
527
replica_key_metadata_response = copy.deepcopy(replica_key.metadata)
528
- del replica_key_metadata_response["CurrentKeyMaterialId"]
+ replica_key_metadata_response.pop("CurrentKeyMaterialId", None)
529
530
return ReplicateKeyResponse(ReplicaKeyMetadata=replica_key_metadata_response)
531
0 commit comments