Skip to content

Commit cd304df

Browse files
author
AWS
committed
Payment Cryptography Control Plane Update: Added further restrictions on logging of potentially sensitive inputs and outputs.
1 parent f7ae1ed commit cd304df

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Payment Cryptography Control Plane",
4+
"contributor": "",
5+
"description": "Added further restrictions on logging of potentially sensitive inputs and outputs."
6+
}

services/paymentcryptography/src/main/resources/codegen-resources/service-2.json

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
"version":"2.0",
33
"metadata":{
44
"apiVersion":"2021-09-14",
5+
"auth":["aws.auth#sigv4"],
56
"endpointPrefix":"controlplane.payment-cryptography",
67
"jsonVersion":"1.0",
78
"protocol":"json",
9+
"protocols":["json"],
810
"serviceFullName":"Payment Cryptography Control Plane",
911
"serviceId":"Payment Cryptography",
1012
"signatureVersion":"v4",
@@ -561,6 +563,12 @@
561563
}
562564
}
563565
},
566+
"EvenHexLengthBetween16And32":{
567+
"type":"string",
568+
"max":32,
569+
"min":16,
570+
"pattern":"(?:[0-9a-fA-F][0-9a-fA-F])+"
571+
},
564572
"ExportAttributes":{
565573
"type":"structure",
566574
"members":{
@@ -702,7 +710,7 @@
702710
"documentation":"<p>The format of key block that Amazon Web Services Payment Cryptography will use during key export.</p>"
703711
},
704712
"RandomNonce":{
705-
"shape":"HexLength16",
713+
"shape":"EvenHexLengthBetween16And32",
706714
"documentation":"<p>A random number value that is unique to the TR-34 key block generated using 2 pass. The operation will fail, if a random nonce value is not provided for a TR-34 key block generated using 2 pass.</p>"
707715
},
708716
"KeyBlockHeaders":{
@@ -877,12 +885,6 @@
877885
}
878886
}
879887
},
880-
"HexLength16":{
881-
"type":"string",
882-
"max":16,
883-
"min":16,
884-
"pattern":"[0-9A-F]+"
885-
},
886888
"HexLength20Or24":{
887889
"type":"string",
888890
"max":24,
@@ -1030,7 +1032,7 @@
10301032
"documentation":"<p>The key block format to use during key import. The only value allowed is <code>X9_TR34_2012</code>.</p>"
10311033
},
10321034
"RandomNonce":{
1033-
"shape":"HexLength16",
1035+
"shape":"EvenHexLengthBetween16And32",
10341036
"documentation":"<p>A random number value that is unique to the TR-34 key block generated using 2 pass. The operation will fail, if a random nonce value is not provided for a TR-34 key block generated using 2 pass.</p>"
10351037
}
10361038
},
@@ -1674,7 +1676,8 @@
16741676
"type":"string",
16751677
"max":9984,
16761678
"min":56,
1677-
"pattern":"[0-9A-Z]+"
1679+
"pattern":"[0-9A-Z]+",
1680+
"sensitive":true
16781681
},
16791682
"Tr34KeyBlockFormat":{
16801683
"type":"string",

0 commit comments

Comments
 (0)