Skip to content

Commit 115b00e

Browse files
m
1 parent 7212626 commit 115b00e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test_vector_handlers/src/awses_test_vectors/manifests/mpl_keyring.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,12 @@ def keyring(self, keys_uri, mode):
115115
input_kwargs["padding-hash"] = self.padding_hash
116116
if self.default_mrk_region is not None:
117117
input_kwargs["default-mrk-region"] = self.default_mrk_region
118+
if self.discovery_filter is not None:
119+
input_kwargs["aws-kms-discovery-filter"] = {}
120+
if self.discovery_filter.partition is not None:
121+
input_kwargs["aws-kms-discovery-filter"]["partition"] = self.discovery_filter.partition
122+
if self.discovery_filter.account_ids is not None:
123+
input_kwargs["aws-kms-discovery-filter"]["account-ids"] = self.discovery_filter.account_ids
118124

119125
if input_kwargs["type"] == "raw" \
120126
and input_kwargs["encryption-algorithm"] == "rsa":

0 commit comments

Comments
 (0)