aws-sdk-paymentcryptography 1.42.0 → 1.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-paymentcryptography/client.rb +51 -3
- data/lib/aws-sdk-paymentcryptography/client_api.rb +49 -2
- data/lib/aws-sdk-paymentcryptography/types.rb +113 -2
- data/lib/aws-sdk-paymentcryptography.rb +1 -1
- data/sig/client.rbs +26 -2
- data/sig/types.rbs +27 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98bc0552dc0db48c6a5c7cd5cfd1aab97f3917c150827763c0550d63842104a5
|
4
|
+
data.tar.gz: d7309509afbe2e28b36e9fdffd6125e6182e2ec4610dfd309c8cfa7a8541af74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19a8431e073048fa685c1be9477c0327dd0fb470375cd47faabfbaeecdd974fe97e9ff573f3ccff862e6c38079af53f4c46e12b7ccebf694a0b292c1834f8360
|
7
|
+
data.tar.gz: b45d8f7a657f271a76bfdc8cc861a9e243cabce7372684b13a3dbcc711d62baea4e2c38f0f01fc475416065a3ffa9a0ca2a1879a59c80df6f6b75c4a8d2b0b9f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.43.0 (2025-09-12)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for certificates to be signed by 3rd party certificate authorities. New API GetCertificateSigningRequest API and support for providing certificates at run-time for tr-34 import/export
|
8
|
+
|
4
9
|
1.42.0 (2025-09-10)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.43.0
|
@@ -1385,7 +1385,9 @@ module Aws::PaymentCryptography
|
|
1385
1385
|
# tr_34_key_block: {
|
1386
1386
|
# certificate_authority_public_key_identifier: "KeyArnOrKeyAliasType", # required
|
1387
1387
|
# wrapping_key_certificate: "CertificateType", # required
|
1388
|
-
# export_token: "ExportTokenId",
|
1388
|
+
# export_token: "ExportTokenId",
|
1389
|
+
# signing_key_identifier: "KeyArnOrKeyAliasType",
|
1390
|
+
# signing_key_certificate: "CertificateType",
|
1389
1391
|
# key_block_format: "X9_TR34_2012", # required, accepts X9_TR34_2012
|
1390
1392
|
# random_nonce: "EvenHexLengthBetween16And32",
|
1391
1393
|
# key_block_headers: {
|
@@ -1518,6 +1520,50 @@ module Aws::PaymentCryptography
|
|
1518
1520
|
req.send_request(options)
|
1519
1521
|
end
|
1520
1522
|
|
1523
|
+
# Used to retrieve the public key for a keypair.
|
1524
|
+
#
|
1525
|
+
# @option params [required, String] :key_identifier
|
1526
|
+
# Asymmetric key used for generating the certificate signing request
|
1527
|
+
#
|
1528
|
+
# @option params [required, String] :signing_algorithm
|
1529
|
+
# Algorithm used to generate the certificate signing request
|
1530
|
+
#
|
1531
|
+
# @option params [required, Types::CertificateSubjectType] :certificate_subject
|
1532
|
+
# Certificate subject data
|
1533
|
+
#
|
1534
|
+
# @return [Types::GetCertificateSigningRequestOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1535
|
+
#
|
1536
|
+
# * {Types::GetCertificateSigningRequestOutput#certificate_signing_request #certificate_signing_request} => String
|
1537
|
+
#
|
1538
|
+
# @example Request syntax with placeholder values
|
1539
|
+
#
|
1540
|
+
# resp = client.get_certificate_signing_request({
|
1541
|
+
# key_identifier: "KeyArnOrKeyAliasType", # required
|
1542
|
+
# signing_algorithm: "SHA224", # required, accepts SHA224, SHA256, SHA384, SHA512
|
1543
|
+
# certificate_subject: { # required
|
1544
|
+
# common_name: "CertificateSubjectTypeCommonNameString", # required
|
1545
|
+
# organization_unit: "CertificateSubjectTypeOrganizationUnitString",
|
1546
|
+
# organization: "CertificateSubjectTypeOrganizationString",
|
1547
|
+
# city: "CertificateSubjectTypeCityString",
|
1548
|
+
# country: "CertificateSubjectTypeCountryString",
|
1549
|
+
# state_or_province: "CertificateSubjectTypeStateOrProvinceString",
|
1550
|
+
# email_address: "CertificateSubjectTypeEmailAddressString",
|
1551
|
+
# },
|
1552
|
+
# })
|
1553
|
+
#
|
1554
|
+
# @example Response structure
|
1555
|
+
#
|
1556
|
+
# resp.certificate_signing_request #=> String
|
1557
|
+
#
|
1558
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/GetCertificateSigningRequest AWS API Documentation
|
1559
|
+
#
|
1560
|
+
# @overload get_certificate_signing_request(params = {})
|
1561
|
+
# @param [Hash] params ({})
|
1562
|
+
def get_certificate_signing_request(params = {}, options = {})
|
1563
|
+
req = build_request(:get_certificate_signing_request, params)
|
1564
|
+
req.send_request(options)
|
1565
|
+
end
|
1566
|
+
|
1521
1567
|
# Retrieves the list of regions where default key replication is
|
1522
1568
|
# currently enabled for your account.
|
1523
1569
|
#
|
@@ -2131,7 +2177,9 @@ module Aws::PaymentCryptography
|
|
2131
2177
|
# tr_34_key_block: {
|
2132
2178
|
# certificate_authority_public_key_identifier: "KeyArnOrKeyAliasType", # required
|
2133
2179
|
# signing_key_certificate: "CertificateType", # required
|
2134
|
-
# import_token: "ImportTokenId",
|
2180
|
+
# import_token: "ImportTokenId",
|
2181
|
+
# wrapping_key_identifier: "KeyArnOrKeyAliasType",
|
2182
|
+
# wrapping_key_certificate: "CertificateType",
|
2135
2183
|
# wrapped_key_block: "Tr34WrappedKeyBlock", # required
|
2136
2184
|
# key_block_format: "X9_TR34_2012", # required, accepts X9_TR34_2012
|
2137
2185
|
# random_nonce: "EvenHexLengthBetween16And32",
|
@@ -3007,7 +3055,7 @@ module Aws::PaymentCryptography
|
|
3007
3055
|
tracer: tracer
|
3008
3056
|
)
|
3009
3057
|
context[:gem_name] = 'aws-sdk-paymentcryptography'
|
3010
|
-
context[:gem_version] = '1.
|
3058
|
+
context[:gem_version] = '1.43.0'
|
3011
3059
|
Seahorse::Client::Request.new(handlers, context)
|
3012
3060
|
end
|
3013
3061
|
|
@@ -21,6 +21,15 @@ module Aws::PaymentCryptography
|
|
21
21
|
AliasName = Shapes::StringShape.new(name: 'AliasName')
|
22
22
|
Aliases = Shapes::ListShape.new(name: 'Aliases')
|
23
23
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
24
|
+
CertificateSigningRequestType = Shapes::StringShape.new(name: 'CertificateSigningRequestType')
|
25
|
+
CertificateSubjectType = Shapes::StructureShape.new(name: 'CertificateSubjectType')
|
26
|
+
CertificateSubjectTypeCityString = Shapes::StringShape.new(name: 'CertificateSubjectTypeCityString')
|
27
|
+
CertificateSubjectTypeCommonNameString = Shapes::StringShape.new(name: 'CertificateSubjectTypeCommonNameString')
|
28
|
+
CertificateSubjectTypeCountryString = Shapes::StringShape.new(name: 'CertificateSubjectTypeCountryString')
|
29
|
+
CertificateSubjectTypeEmailAddressString = Shapes::StringShape.new(name: 'CertificateSubjectTypeEmailAddressString')
|
30
|
+
CertificateSubjectTypeOrganizationString = Shapes::StringShape.new(name: 'CertificateSubjectTypeOrganizationString')
|
31
|
+
CertificateSubjectTypeOrganizationUnitString = Shapes::StringShape.new(name: 'CertificateSubjectTypeOrganizationUnitString')
|
32
|
+
CertificateSubjectTypeStateOrProvinceString = Shapes::StringShape.new(name: 'CertificateSubjectTypeStateOrProvinceString')
|
24
33
|
CertificateType = Shapes::StringShape.new(name: 'CertificateType')
|
25
34
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
26
35
|
CreateAliasInput = Shapes::StructureShape.new(name: 'CreateAliasInput')
|
@@ -51,6 +60,8 @@ module Aws::PaymentCryptography
|
|
51
60
|
ExportTr34KeyBlock = Shapes::StructureShape.new(name: 'ExportTr34KeyBlock')
|
52
61
|
GetAliasInput = Shapes::StructureShape.new(name: 'GetAliasInput')
|
53
62
|
GetAliasOutput = Shapes::StructureShape.new(name: 'GetAliasOutput')
|
63
|
+
GetCertificateSigningRequestInput = Shapes::StructureShape.new(name: 'GetCertificateSigningRequestInput')
|
64
|
+
GetCertificateSigningRequestOutput = Shapes::StructureShape.new(name: 'GetCertificateSigningRequestOutput')
|
54
65
|
GetDefaultKeyReplicationRegionsInput = Shapes::StructureShape.new(name: 'GetDefaultKeyReplicationRegionsInput')
|
55
66
|
GetDefaultKeyReplicationRegionsOutput = Shapes::StructureShape.new(name: 'GetDefaultKeyReplicationRegionsOutput')
|
56
67
|
GetKeyInput = Shapes::StructureShape.new(name: 'GetKeyInput')
|
@@ -120,6 +131,7 @@ module Aws::PaymentCryptography
|
|
120
131
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
121
132
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
122
133
|
SharedInformation = Shapes::StringShape.new(name: 'SharedInformation')
|
134
|
+
SigningAlgorithmType = Shapes::StringShape.new(name: 'SigningAlgorithmType')
|
123
135
|
StartKeyUsageInput = Shapes::StructureShape.new(name: 'StartKeyUsageInput')
|
124
136
|
StartKeyUsageOutput = Shapes::StructureShape.new(name: 'StartKeyUsageOutput')
|
125
137
|
StopKeyUsageInput = Shapes::StructureShape.new(name: 'StopKeyUsageInput')
|
@@ -165,6 +177,15 @@ module Aws::PaymentCryptography
|
|
165
177
|
|
166
178
|
Aliases.member = Shapes::ShapeRef.new(shape: Alias)
|
167
179
|
|
180
|
+
CertificateSubjectType.add_member(:common_name, Shapes::ShapeRef.new(shape: CertificateSubjectTypeCommonNameString, required: true, location_name: "CommonName"))
|
181
|
+
CertificateSubjectType.add_member(:organization_unit, Shapes::ShapeRef.new(shape: CertificateSubjectTypeOrganizationUnitString, location_name: "OrganizationUnit"))
|
182
|
+
CertificateSubjectType.add_member(:organization, Shapes::ShapeRef.new(shape: CertificateSubjectTypeOrganizationString, location_name: "Organization"))
|
183
|
+
CertificateSubjectType.add_member(:city, Shapes::ShapeRef.new(shape: CertificateSubjectTypeCityString, location_name: "City"))
|
184
|
+
CertificateSubjectType.add_member(:country, Shapes::ShapeRef.new(shape: CertificateSubjectTypeCountryString, location_name: "Country"))
|
185
|
+
CertificateSubjectType.add_member(:state_or_province, Shapes::ShapeRef.new(shape: CertificateSubjectTypeStateOrProvinceString, location_name: "StateOrProvince"))
|
186
|
+
CertificateSubjectType.add_member(:email_address, Shapes::ShapeRef.new(shape: CertificateSubjectTypeEmailAddressString, location_name: "EmailAddress"))
|
187
|
+
CertificateSubjectType.struct_class = Types::CertificateSubjectType
|
188
|
+
|
168
189
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
169
190
|
ConflictException.struct_class = Types::ConflictException
|
170
191
|
|
@@ -265,7 +286,9 @@ module Aws::PaymentCryptography
|
|
265
286
|
|
266
287
|
ExportTr34KeyBlock.add_member(:certificate_authority_public_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "CertificateAuthorityPublicKeyIdentifier"))
|
267
288
|
ExportTr34KeyBlock.add_member(:wrapping_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "WrappingKeyCertificate"))
|
268
|
-
ExportTr34KeyBlock.add_member(:export_token, Shapes::ShapeRef.new(shape: ExportTokenId,
|
289
|
+
ExportTr34KeyBlock.add_member(:export_token, Shapes::ShapeRef.new(shape: ExportTokenId, location_name: "ExportToken"))
|
290
|
+
ExportTr34KeyBlock.add_member(:signing_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, location_name: "SigningKeyIdentifier"))
|
291
|
+
ExportTr34KeyBlock.add_member(:signing_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, location_name: "SigningKeyCertificate"))
|
269
292
|
ExportTr34KeyBlock.add_member(:key_block_format, Shapes::ShapeRef.new(shape: Tr34KeyBlockFormat, required: true, location_name: "KeyBlockFormat"))
|
270
293
|
ExportTr34KeyBlock.add_member(:random_nonce, Shapes::ShapeRef.new(shape: EvenHexLengthBetween16And32, location_name: "RandomNonce"))
|
271
294
|
ExportTr34KeyBlock.add_member(:key_block_headers, Shapes::ShapeRef.new(shape: KeyBlockHeaders, location_name: "KeyBlockHeaders"))
|
@@ -277,6 +300,14 @@ module Aws::PaymentCryptography
|
|
277
300
|
GetAliasOutput.add_member(:alias, Shapes::ShapeRef.new(shape: Alias, required: true, location_name: "Alias"))
|
278
301
|
GetAliasOutput.struct_class = Types::GetAliasOutput
|
279
302
|
|
303
|
+
GetCertificateSigningRequestInput.add_member(:key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "KeyIdentifier"))
|
304
|
+
GetCertificateSigningRequestInput.add_member(:signing_algorithm, Shapes::ShapeRef.new(shape: SigningAlgorithmType, required: true, location_name: "SigningAlgorithm"))
|
305
|
+
GetCertificateSigningRequestInput.add_member(:certificate_subject, Shapes::ShapeRef.new(shape: CertificateSubjectType, required: true, location_name: "CertificateSubject"))
|
306
|
+
GetCertificateSigningRequestInput.struct_class = Types::GetCertificateSigningRequestInput
|
307
|
+
|
308
|
+
GetCertificateSigningRequestOutput.add_member(:certificate_signing_request, Shapes::ShapeRef.new(shape: CertificateSigningRequestType, required: true, location_name: "CertificateSigningRequest"))
|
309
|
+
GetCertificateSigningRequestOutput.struct_class = Types::GetCertificateSigningRequestOutput
|
310
|
+
|
280
311
|
GetDefaultKeyReplicationRegionsInput.struct_class = Types::GetDefaultKeyReplicationRegionsInput
|
281
312
|
|
282
313
|
GetDefaultKeyReplicationRegionsOutput.add_member(:enabled_replication_regions, Shapes::ShapeRef.new(shape: Regions, required: true, location_name: "EnabledReplicationRegions"))
|
@@ -366,7 +397,9 @@ module Aws::PaymentCryptography
|
|
366
397
|
|
367
398
|
ImportTr34KeyBlock.add_member(:certificate_authority_public_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, required: true, location_name: "CertificateAuthorityPublicKeyIdentifier"))
|
368
399
|
ImportTr34KeyBlock.add_member(:signing_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "SigningKeyCertificate"))
|
369
|
-
ImportTr34KeyBlock.add_member(:import_token, Shapes::ShapeRef.new(shape: ImportTokenId,
|
400
|
+
ImportTr34KeyBlock.add_member(:import_token, Shapes::ShapeRef.new(shape: ImportTokenId, location_name: "ImportToken"))
|
401
|
+
ImportTr34KeyBlock.add_member(:wrapping_key_identifier, Shapes::ShapeRef.new(shape: KeyArnOrKeyAliasType, location_name: "WrappingKeyIdentifier"))
|
402
|
+
ImportTr34KeyBlock.add_member(:wrapping_key_certificate, Shapes::ShapeRef.new(shape: CertificateType, location_name: "WrappingKeyCertificate"))
|
370
403
|
ImportTr34KeyBlock.add_member(:wrapped_key_block, Shapes::ShapeRef.new(shape: Tr34WrappedKeyBlock, required: true, location_name: "WrappedKeyBlock"))
|
371
404
|
ImportTr34KeyBlock.add_member(:key_block_format, Shapes::ShapeRef.new(shape: Tr34KeyBlockFormat, required: true, location_name: "KeyBlockFormat"))
|
372
405
|
ImportTr34KeyBlock.add_member(:random_nonce, Shapes::ShapeRef.new(shape: EvenHexLengthBetween16And32, location_name: "RandomNonce"))
|
@@ -709,6 +742,20 @@ module Aws::PaymentCryptography
|
|
709
742
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
710
743
|
end)
|
711
744
|
|
745
|
+
api.add_operation(:get_certificate_signing_request, Seahorse::Model::Operation.new.tap do |o|
|
746
|
+
o.name = "GetCertificateSigningRequest"
|
747
|
+
o.http_method = "POST"
|
748
|
+
o.http_request_uri = "/"
|
749
|
+
o.input = Shapes::ShapeRef.new(shape: GetCertificateSigningRequestInput)
|
750
|
+
o.output = Shapes::ShapeRef.new(shape: GetCertificateSigningRequestOutput)
|
751
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
752
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
753
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
754
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
755
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
756
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
757
|
+
end)
|
758
|
+
|
712
759
|
api.add_operation(:get_default_key_replication_regions, Seahorse::Model::Operation.new.tap do |o|
|
713
760
|
o.name = "GetDefaultKeyReplicationRegions"
|
714
761
|
o.http_method = "POST"
|
@@ -98,6 +98,50 @@ module Aws::PaymentCryptography
|
|
98
98
|
include Aws::Structure
|
99
99
|
end
|
100
100
|
|
101
|
+
# Metadata used in generating the CSR
|
102
|
+
#
|
103
|
+
# @!attribute [rw] common_name
|
104
|
+
# Common Name to be used in the certificate signing request
|
105
|
+
# @return [String]
|
106
|
+
#
|
107
|
+
# @!attribute [rw] organization_unit
|
108
|
+
# Organization Unit to be used in the certificate signing request
|
109
|
+
# @return [String]
|
110
|
+
#
|
111
|
+
# @!attribute [rw] organization
|
112
|
+
# Organization to be used in the certificate signing request
|
113
|
+
# @return [String]
|
114
|
+
#
|
115
|
+
# @!attribute [rw] city
|
116
|
+
# City to be used in the certificate signing request
|
117
|
+
# @return [String]
|
118
|
+
#
|
119
|
+
# @!attribute [rw] country
|
120
|
+
# Country to be used in the certificate signing request
|
121
|
+
# @return [String]
|
122
|
+
#
|
123
|
+
# @!attribute [rw] state_or_province
|
124
|
+
# State Or Province to be used in the certificate signing request
|
125
|
+
# @return [String]
|
126
|
+
#
|
127
|
+
# @!attribute [rw] email_address
|
128
|
+
# Email to be used in the certificate signing request
|
129
|
+
# @return [String]
|
130
|
+
#
|
131
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/CertificateSubjectType AWS API Documentation
|
132
|
+
#
|
133
|
+
class CertificateSubjectType < Struct.new(
|
134
|
+
:common_name,
|
135
|
+
:organization_unit,
|
136
|
+
:organization,
|
137
|
+
:city,
|
138
|
+
:country,
|
139
|
+
:state_or_province,
|
140
|
+
:email_address)
|
141
|
+
SENSITIVE = []
|
142
|
+
include Aws::Structure
|
143
|
+
end
|
144
|
+
|
101
145
|
# This request can cause an inconsistent state for the resource.
|
102
146
|
#
|
103
147
|
# The requested operation conflicts with the current state of the
|
@@ -660,6 +704,14 @@ module Aws::PaymentCryptography
|
|
660
704
|
# [1]: https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetParametersForExport.html
|
661
705
|
# @return [String]
|
662
706
|
#
|
707
|
+
# @!attribute [rw] signing_key_identifier
|
708
|
+
# Key Identifier used for signing the export key
|
709
|
+
# @return [String]
|
710
|
+
#
|
711
|
+
# @!attribute [rw] signing_key_certificate
|
712
|
+
# Certificate used for signing the export key
|
713
|
+
# @return [String]
|
714
|
+
#
|
663
715
|
# @!attribute [rw] key_block_format
|
664
716
|
# The format of key block that Amazon Web Services Payment
|
665
717
|
# Cryptography will use during key export.
|
@@ -682,6 +734,8 @@ module Aws::PaymentCryptography
|
|
682
734
|
:certificate_authority_public_key_identifier,
|
683
735
|
:wrapping_key_certificate,
|
684
736
|
:export_token,
|
737
|
+
:signing_key_identifier,
|
738
|
+
:signing_key_certificate,
|
685
739
|
:key_block_format,
|
686
740
|
:random_nonce,
|
687
741
|
:key_block_headers)
|
@@ -713,6 +767,40 @@ module Aws::PaymentCryptography
|
|
713
767
|
include Aws::Structure
|
714
768
|
end
|
715
769
|
|
770
|
+
# @!attribute [rw] key_identifier
|
771
|
+
# Asymmetric key used for generating the certificate signing request
|
772
|
+
# @return [String]
|
773
|
+
#
|
774
|
+
# @!attribute [rw] signing_algorithm
|
775
|
+
# Algorithm used to generate the certificate signing request
|
776
|
+
# @return [String]
|
777
|
+
#
|
778
|
+
# @!attribute [rw] certificate_subject
|
779
|
+
# Certificate subject data
|
780
|
+
# @return [Types::CertificateSubjectType]
|
781
|
+
#
|
782
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/GetCertificateSigningRequestInput AWS API Documentation
|
783
|
+
#
|
784
|
+
class GetCertificateSigningRequestInput < Struct.new(
|
785
|
+
:key_identifier,
|
786
|
+
:signing_algorithm,
|
787
|
+
:certificate_subject)
|
788
|
+
SENSITIVE = []
|
789
|
+
include Aws::Structure
|
790
|
+
end
|
791
|
+
|
792
|
+
# @!attribute [rw] certificate_signing_request
|
793
|
+
# Certificate signing request
|
794
|
+
# @return [String]
|
795
|
+
#
|
796
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/payment-cryptography-2021-09-14/GetCertificateSigningRequestOutput AWS API Documentation
|
797
|
+
#
|
798
|
+
class GetCertificateSigningRequestOutput < Struct.new(
|
799
|
+
:certificate_signing_request)
|
800
|
+
SENSITIVE = [:certificate_signing_request]
|
801
|
+
include Aws::Structure
|
802
|
+
end
|
803
|
+
|
716
804
|
# Input parameters for retrieving the account's default key replication
|
717
805
|
# regions. This operation requires no input parameters.
|
718
806
|
#
|
@@ -1207,6 +1295,14 @@ module Aws::PaymentCryptography
|
|
1207
1295
|
# token to import multiple keys to the same service account.
|
1208
1296
|
# @return [String]
|
1209
1297
|
#
|
1298
|
+
# @!attribute [rw] wrapping_key_identifier
|
1299
|
+
# Key Identifier used for unwrapping the import key
|
1300
|
+
# @return [String]
|
1301
|
+
#
|
1302
|
+
# @!attribute [rw] wrapping_key_certificate
|
1303
|
+
# Key Identifier used for unwrapping the import key
|
1304
|
+
# @return [String]
|
1305
|
+
#
|
1210
1306
|
# @!attribute [rw] wrapped_key_block
|
1211
1307
|
# The TR-34 wrapped key block to import.
|
1212
1308
|
# @return [String]
|
@@ -1228,6 +1324,8 @@ module Aws::PaymentCryptography
|
|
1228
1324
|
:certificate_authority_public_key_identifier,
|
1229
1325
|
:signing_key_certificate,
|
1230
1326
|
:import_token,
|
1327
|
+
:wrapping_key_identifier,
|
1328
|
+
:wrapping_key_certificate,
|
1231
1329
|
:wrapped_key_block,
|
1232
1330
|
:key_block_format,
|
1233
1331
|
:random_nonce)
|
@@ -1602,7 +1700,14 @@ module Aws::PaymentCryptography
|
|
1602
1700
|
# @return [Boolean]
|
1603
1701
|
#
|
1604
1702
|
# @!attribute [rw] multi_region_key_type
|
1605
|
-
#
|
1703
|
+
# Indicates whether this key is a multi-region key and its role in the
|
1704
|
+
# multi-region key hierarchy.
|
1705
|
+
#
|
1706
|
+
# Multi-region keys allow the same key material to be used across
|
1707
|
+
# multiple Amazon Web Services Regions. This field specifies whether
|
1708
|
+
# the key is a primary key (which can be replicated to other regions)
|
1709
|
+
# or a replica key (which is a copy of a primary key in another
|
1710
|
+
# region).
|
1606
1711
|
# @return [String]
|
1607
1712
|
#
|
1608
1713
|
# @!attribute [rw] primary_region
|
@@ -1832,7 +1937,13 @@ module Aws::PaymentCryptography
|
|
1832
1937
|
# about the replication process.
|
1833
1938
|
#
|
1834
1939
|
# @!attribute [rw] status
|
1835
|
-
#
|
1940
|
+
# The current status of key replication in this region.
|
1941
|
+
#
|
1942
|
+
# This field indicates whether the key replication is in progress,
|
1943
|
+
# completed successfully, or has encountered an error. Possible values
|
1944
|
+
# include states such as SYNCRHONIZED, IN\_PROGRESS,
|
1945
|
+
# DELETE\_IN\_PROGRESS, or FAILED. This provides visibility into the
|
1946
|
+
# replication process for monitoring and troubleshooting purposes.
|
1836
1947
|
# @return [String]
|
1837
1948
|
#
|
1838
1949
|
# @!attribute [rw] status_message
|
data/sig/client.rbs
CHANGED
@@ -206,7 +206,9 @@ module Aws
|
|
206
206
|
tr_34_key_block: {
|
207
207
|
certificate_authority_public_key_identifier: ::String,
|
208
208
|
wrapping_key_certificate: ::String,
|
209
|
-
export_token: ::String
|
209
|
+
export_token: ::String?,
|
210
|
+
signing_key_identifier: ::String?,
|
211
|
+
signing_key_certificate: ::String?,
|
210
212
|
key_block_format: ("X9_TR34_2012"),
|
211
213
|
random_nonce: ::String?,
|
212
214
|
key_block_headers: {
|
@@ -279,6 +281,26 @@ module Aws
|
|
279
281
|
) -> _GetAliasResponseSuccess
|
280
282
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAliasResponseSuccess
|
281
283
|
|
284
|
+
interface _GetCertificateSigningRequestResponseSuccess
|
285
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetCertificateSigningRequestOutput]
|
286
|
+
def certificate_signing_request: () -> ::String
|
287
|
+
end
|
288
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#get_certificate_signing_request-instance_method
|
289
|
+
def get_certificate_signing_request: (
|
290
|
+
key_identifier: ::String,
|
291
|
+
signing_algorithm: ("SHA224" | "SHA256" | "SHA384" | "SHA512"),
|
292
|
+
certificate_subject: {
|
293
|
+
common_name: ::String,
|
294
|
+
organization_unit: ::String?,
|
295
|
+
organization: ::String?,
|
296
|
+
city: ::String?,
|
297
|
+
country: ::String?,
|
298
|
+
state_or_province: ::String?,
|
299
|
+
email_address: ::String?
|
300
|
+
}
|
301
|
+
) -> _GetCertificateSigningRequestResponseSuccess
|
302
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCertificateSigningRequestResponseSuccess
|
303
|
+
|
282
304
|
interface _GetDefaultKeyReplicationRegionsResponseSuccess
|
283
305
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetDefaultKeyReplicationRegionsOutput]
|
284
306
|
def enabled_replication_regions: () -> ::Array[::String]
|
@@ -392,7 +414,9 @@ module Aws
|
|
392
414
|
tr_34_key_block: {
|
393
415
|
certificate_authority_public_key_identifier: ::String,
|
394
416
|
signing_key_certificate: ::String,
|
395
|
-
import_token: ::String
|
417
|
+
import_token: ::String?,
|
418
|
+
wrapping_key_identifier: ::String?,
|
419
|
+
wrapping_key_certificate: ::String?,
|
396
420
|
wrapped_key_block: ::String,
|
397
421
|
key_block_format: ("X9_TR34_2012"),
|
398
422
|
random_nonce: ::String?
|
data/sig/types.rbs
CHANGED
@@ -30,6 +30,17 @@ module Aws::PaymentCryptography
|
|
30
30
|
SENSITIVE: []
|
31
31
|
end
|
32
32
|
|
33
|
+
class CertificateSubjectType
|
34
|
+
attr_accessor common_name: ::String
|
35
|
+
attr_accessor organization_unit: ::String
|
36
|
+
attr_accessor organization: ::String
|
37
|
+
attr_accessor city: ::String
|
38
|
+
attr_accessor country: ::String
|
39
|
+
attr_accessor state_or_province: ::String
|
40
|
+
attr_accessor email_address: ::String
|
41
|
+
SENSITIVE: []
|
42
|
+
end
|
43
|
+
|
33
44
|
class ConflictException
|
34
45
|
attr_accessor message: ::String
|
35
46
|
SENSITIVE: []
|
@@ -184,6 +195,8 @@ module Aws::PaymentCryptography
|
|
184
195
|
attr_accessor certificate_authority_public_key_identifier: ::String
|
185
196
|
attr_accessor wrapping_key_certificate: ::String
|
186
197
|
attr_accessor export_token: ::String
|
198
|
+
attr_accessor signing_key_identifier: ::String
|
199
|
+
attr_accessor signing_key_certificate: ::String
|
187
200
|
attr_accessor key_block_format: ("X9_TR34_2012")
|
188
201
|
attr_accessor random_nonce: ::String
|
189
202
|
attr_accessor key_block_headers: Types::KeyBlockHeaders
|
@@ -200,6 +213,18 @@ module Aws::PaymentCryptography
|
|
200
213
|
SENSITIVE: []
|
201
214
|
end
|
202
215
|
|
216
|
+
class GetCertificateSigningRequestInput
|
217
|
+
attr_accessor key_identifier: ::String
|
218
|
+
attr_accessor signing_algorithm: ("SHA224" | "SHA256" | "SHA384" | "SHA512")
|
219
|
+
attr_accessor certificate_subject: Types::CertificateSubjectType
|
220
|
+
SENSITIVE: []
|
221
|
+
end
|
222
|
+
|
223
|
+
class GetCertificateSigningRequestOutput
|
224
|
+
attr_accessor certificate_signing_request: ::String
|
225
|
+
SENSITIVE: [:certificate_signing_request]
|
226
|
+
end
|
227
|
+
|
203
228
|
class GetDefaultKeyReplicationRegionsInput < Aws::EmptyStructure
|
204
229
|
end
|
205
230
|
|
@@ -330,6 +355,8 @@ module Aws::PaymentCryptography
|
|
330
355
|
attr_accessor certificate_authority_public_key_identifier: ::String
|
331
356
|
attr_accessor signing_key_certificate: ::String
|
332
357
|
attr_accessor import_token: ::String
|
358
|
+
attr_accessor wrapping_key_identifier: ::String
|
359
|
+
attr_accessor wrapping_key_certificate: ::String
|
333
360
|
attr_accessor wrapped_key_block: ::String
|
334
361
|
attr_accessor key_block_format: ("X9_TR34_2012")
|
335
362
|
attr_accessor random_nonce: ::String
|