cdk-lambda-subminute 2.0.317 → 2.0.319
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.
- package/.jsii +31 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +110 -68
- package/node_modules/aws-sdk/apis/backup-2018-11-15.min.json +8 -2
- package/node_modules/aws-sdk/apis/cleanroomsml-2023-09-06.min.json +1 -1
- package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +7 -1
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +282 -279
- package/node_modules/aws-sdk/apis/payment-cryptography-2021-09-14.min.json +34 -14
- package/node_modules/aws-sdk/clients/athena.d.ts +80 -5
- package/node_modules/aws-sdk/clients/backup.d.ts +18 -6
- package/node_modules/aws-sdk/clients/cleanroomsml.d.ts +1 -1
- package/node_modules/aws-sdk/clients/cloudformation.d.ts +3 -3
- package/node_modules/aws-sdk/clients/comprehend.d.ts +15 -15
- package/node_modules/aws-sdk/clients/connect.d.ts +8 -0
- package/node_modules/aws-sdk/clients/ec2.d.ts +11 -6
- package/node_modules/aws-sdk/clients/paymentcryptography.d.ts +70 -41
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +9 -9
- package/node_modules/aws-sdk/dist/aws-sdk.js +403 -351
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +103 -103
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/lib/region_config_data.json +1 -0
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +2 -2
@@ -5242,9 +5242,9 @@ declare namespace EC2 {
|
|
5242
5242
|
*/
|
5243
5243
|
Max?: Integer;
|
5244
5244
|
}
|
5245
|
-
export type AcceleratorManufacturer = "amazon-web-services"|"amd"|"nvidia"|"xilinx"|string;
|
5245
|
+
export type AcceleratorManufacturer = "amazon-web-services"|"amd"|"nvidia"|"xilinx"|"habana"|string;
|
5246
5246
|
export type AcceleratorManufacturerSet = AcceleratorManufacturer[];
|
5247
|
-
export type AcceleratorName = "a100"|"inferentia"|"k520"|"k80"|"m60"|"radeon-pro-v520"|"t4"|"vu9p"|"v100"|string;
|
5247
|
+
export type AcceleratorName = "a100"|"inferentia"|"k520"|"k80"|"m60"|"radeon-pro-v520"|"t4"|"vu9p"|"v100"|"a10g"|"h100"|"t4g"|string;
|
5248
5248
|
export type AcceleratorNameSet = AcceleratorName[];
|
5249
5249
|
export interface AcceleratorTotalMemoryMiB {
|
5250
5250
|
/**
|
@@ -8707,6 +8707,7 @@ declare namespace EC2 {
|
|
8707
8707
|
export type CoreCountList = CoreCount[];
|
8708
8708
|
export type CoreNetworkArn = string;
|
8709
8709
|
export type CpuManufacturer = "intel"|"amd"|"amazon-web-services"|string;
|
8710
|
+
export type CpuManufacturerName = string;
|
8710
8711
|
export type CpuManufacturerSet = CpuManufacturer[];
|
8711
8712
|
export interface CpuOptions {
|
8712
8713
|
/**
|
@@ -24781,11 +24782,11 @@ declare namespace EC2 {
|
|
24781
24782
|
*/
|
24782
24783
|
AcceleratorCount?: AcceleratorCount;
|
24783
24784
|
/**
|
24784
|
-
* Indicates whether instance types must have accelerators by specific manufacturers. For instance types with
|
24785
|
+
* Indicates whether instance types must have accelerators by specific manufacturers. For instance types with Amazon Web Services devices, specify amazon-web-services. For instance types with AMD devices, specify amd. For instance types with Habana devices, specify habana. For instance types with NVIDIA devices, specify nvidia. For instance types with Xilinx devices, specify xilinx. Default: Any manufacturer
|
24785
24786
|
*/
|
24786
24787
|
AcceleratorManufacturers?: AcceleratorManufacturerSet;
|
24787
24788
|
/**
|
24788
|
-
* The accelerators that must be on the instance type. For instance types with NVIDIA A100 GPUs, specify a100. For instance types with NVIDIA
|
24789
|
+
* The accelerators that must be on the instance type. For instance types with NVIDIA A10G GPUs, specify a10g. For instance types with NVIDIA A100 GPUs, specify a100. For instance types with NVIDIA H100 GPUs, specify h100. For instance types with Amazon Web Services Inferentia chips, specify inferentia. For instance types with NVIDIA GRID K520 GPUs, specify k520. For instance types with NVIDIA K80 GPUs, specify k80. For instance types with NVIDIA M60 GPUs, specify m60. For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520. For instance types with NVIDIA T4 GPUs, specify t4. For instance types with NVIDIA T4G GPUs, specify t4g. For instance types with Xilinx VU9P FPGAs, specify vu9p. For instance types with NVIDIA V100 GPUs, specify v100. Default: Any accelerator
|
24789
24790
|
*/
|
24790
24791
|
AcceleratorNames?: AcceleratorNameSet;
|
24791
24792
|
/**
|
@@ -24875,11 +24876,11 @@ declare namespace EC2 {
|
|
24875
24876
|
*/
|
24876
24877
|
AcceleratorCount?: AcceleratorCountRequest;
|
24877
24878
|
/**
|
24878
|
-
* Indicates whether instance types must have accelerators by specific manufacturers. For instance types with
|
24879
|
+
* Indicates whether instance types must have accelerators by specific manufacturers. For instance types with Amazon Web Services devices, specify amazon-web-services. For instance types with AMD devices, specify amd. For instance types with Habana devices, specify habana. For instance types with NVIDIA devices, specify nvidia. For instance types with Xilinx devices, specify xilinx. Default: Any manufacturer
|
24879
24880
|
*/
|
24880
24881
|
AcceleratorManufacturers?: AcceleratorManufacturerSet;
|
24881
24882
|
/**
|
24882
|
-
* The accelerators that must be on the instance type. For instance types with NVIDIA A100 GPUs, specify a100. For instance types with NVIDIA
|
24883
|
+
* The accelerators that must be on the instance type. For instance types with NVIDIA A10G GPUs, specify a10g. For instance types with NVIDIA A100 GPUs, specify a100. For instance types with NVIDIA H100 GPUs, specify h100. For instance types with Amazon Web Services Inferentia chips, specify inferentia. For instance types with NVIDIA GRID K520 GPUs, specify k520. For instance types with NVIDIA K80 GPUs, specify k80. For instance types with NVIDIA M60 GPUs, specify m60. For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520. For instance types with NVIDIA T4 GPUs, specify t4. For instance types with NVIDIA T4G GPUs, specify t4g. For instance types with Xilinx VU9P FPGAs, specify vu9p. For instance types with NVIDIA V100 GPUs, specify v100. Default: Any accelerator
|
24883
24884
|
*/
|
24884
24885
|
AcceleratorNames?: AcceleratorNameSet;
|
24885
24886
|
/**
|
@@ -31668,6 +31669,10 @@ declare namespace EC2 {
|
|
31668
31669
|
* Indicates whether the instance type supports AMD SEV-SNP. If the request returns amd-sev-snp, AMD SEV-SNP is supported. Otherwise, it is not supported. For more information, see AMD SEV-SNP.
|
31669
31670
|
*/
|
31670
31671
|
SupportedFeatures?: SupportedAdditionalProcessorFeatureList;
|
31672
|
+
/**
|
31673
|
+
* The manufacturer of the processor.
|
31674
|
+
*/
|
31675
|
+
Manufacturer?: CpuManufacturerName;
|
31671
31676
|
}
|
31672
31677
|
export type ProcessorSustainedClockSpeed = number;
|
31673
31678
|
export interface ProductCode {
|
@@ -20,11 +20,11 @@ declare class PaymentCryptography extends Service {
|
|
20
20
|
*/
|
21
21
|
createAlias(callback?: (err: AWSError, data: PaymentCryptography.Types.CreateAliasOutput) => void): Request<PaymentCryptography.Types.CreateAliasOutput, AWSError>;
|
22
22
|
/**
|
23
|
-
* Creates an Amazon Web Services Payment Cryptography key, a logical representation of a cryptographic key, that is unique in your account and Amazon Web Services Region. You use keys for cryptographic functions such as encryption and decryption. In addition to the key material used in cryptographic operations, an Amazon Web Services Payment Cryptography key includes metadata such as the key ARN, key usage, key origin, creation date, description, and key state. When you create a key, you specify both immutable and mutable data about the key. The immutable data contains key attributes that
|
23
|
+
* Creates an Amazon Web Services Payment Cryptography key, a logical representation of a cryptographic key, that is unique in your account and Amazon Web Services Region. You use keys for cryptographic functions such as encryption and decryption. In addition to the key material used in cryptographic operations, an Amazon Web Services Payment Cryptography key includes metadata such as the key ARN, key usage, key origin, creation date, description, and key state. When you create a key, you specify both immutable and mutable data about the key. The immutable data contains key attributes that define the scope and cryptographic operations that you can perform using the key, for example key class (example: SYMMETRIC_KEY), key algorithm (example: TDES_2KEY), key usage (example: TR31_P0_PIN_ENCRYPTION_KEY) and key modes of use (example: Encrypt). For information about valid combinations of key attributes, see Understanding key attributes in the Amazon Web Services Payment Cryptography User Guide. The mutable data contained within a key includes usage timestamp and key deletion timestamp and can be modified after creation. Amazon Web Services Payment Cryptography binds key attributes to keys using key blocks when you store or export them. Amazon Web Services Payment Cryptography stores the key contents wrapped and never stores or transmits them in the clear. Cross-account use: This operation can't be used across different Amazon Web Services accounts. Related operations: DeleteKey GetKey ListKeys
|
24
24
|
*/
|
25
25
|
createKey(params: PaymentCryptography.Types.CreateKeyInput, callback?: (err: AWSError, data: PaymentCryptography.Types.CreateKeyOutput) => void): Request<PaymentCryptography.Types.CreateKeyOutput, AWSError>;
|
26
26
|
/**
|
27
|
-
* Creates an Amazon Web Services Payment Cryptography key, a logical representation of a cryptographic key, that is unique in your account and Amazon Web Services Region. You use keys for cryptographic functions such as encryption and decryption. In addition to the key material used in cryptographic operations, an Amazon Web Services Payment Cryptography key includes metadata such as the key ARN, key usage, key origin, creation date, description, and key state. When you create a key, you specify both immutable and mutable data about the key. The immutable data contains key attributes that
|
27
|
+
* Creates an Amazon Web Services Payment Cryptography key, a logical representation of a cryptographic key, that is unique in your account and Amazon Web Services Region. You use keys for cryptographic functions such as encryption and decryption. In addition to the key material used in cryptographic operations, an Amazon Web Services Payment Cryptography key includes metadata such as the key ARN, key usage, key origin, creation date, description, and key state. When you create a key, you specify both immutable and mutable data about the key. The immutable data contains key attributes that define the scope and cryptographic operations that you can perform using the key, for example key class (example: SYMMETRIC_KEY), key algorithm (example: TDES_2KEY), key usage (example: TR31_P0_PIN_ENCRYPTION_KEY) and key modes of use (example: Encrypt). For information about valid combinations of key attributes, see Understanding key attributes in the Amazon Web Services Payment Cryptography User Guide. The mutable data contained within a key includes usage timestamp and key deletion timestamp and can be modified after creation. Amazon Web Services Payment Cryptography binds key attributes to keys using key blocks when you store or export them. Amazon Web Services Payment Cryptography stores the key contents wrapped and never stores or transmits them in the clear. Cross-account use: This operation can't be used across different Amazon Web Services accounts. Related operations: DeleteKey GetKey ListKeys
|
28
28
|
*/
|
29
29
|
createKey(callback?: (err: AWSError, data: PaymentCryptography.Types.CreateKeyOutput) => void): Request<PaymentCryptography.Types.CreateKeyOutput, AWSError>;
|
30
30
|
/**
|
@@ -36,19 +36,19 @@ declare class PaymentCryptography extends Service {
|
|
36
36
|
*/
|
37
37
|
deleteAlias(callback?: (err: AWSError, data: PaymentCryptography.Types.DeleteAliasOutput) => void): Request<PaymentCryptography.Types.DeleteAliasOutput, AWSError>;
|
38
38
|
/**
|
39
|
-
* Deletes the key material and
|
39
|
+
* Deletes the key material and metadata associated with Amazon Web Services Payment Cryptography key. Key deletion is irreversible. After a key is deleted, you can't perform cryptographic operations using the key. For example, you can't decrypt data that was encrypted by a deleted Amazon Web Services Payment Cryptography key, and the data may become unrecoverable. Because key deletion is destructive, Amazon Web Services Payment Cryptography has a safety mechanism to prevent accidental deletion of a key. When you call this operation, Amazon Web Services Payment Cryptography disables the specified key but doesn't delete it until after a waiting period set using DeleteKeyInDays. The default waiting period is 7 days. During the waiting period, the KeyState is DELETE_PENDING. After the key is deleted, the KeyState is DELETE_COMPLETE. You should delete a key only when you are sure that you don't need to use it anymore and no other parties are utilizing this key. If you aren't sure, consider deactivating it instead by calling StopKeyUsage. Cross-account use: This operation can't be used across different Amazon Web Services accounts. Related operations: RestoreKey StartKeyUsage StopKeyUsage
|
40
40
|
*/
|
41
41
|
deleteKey(params: PaymentCryptography.Types.DeleteKeyInput, callback?: (err: AWSError, data: PaymentCryptography.Types.DeleteKeyOutput) => void): Request<PaymentCryptography.Types.DeleteKeyOutput, AWSError>;
|
42
42
|
/**
|
43
|
-
* Deletes the key material and
|
43
|
+
* Deletes the key material and metadata associated with Amazon Web Services Payment Cryptography key. Key deletion is irreversible. After a key is deleted, you can't perform cryptographic operations using the key. For example, you can't decrypt data that was encrypted by a deleted Amazon Web Services Payment Cryptography key, and the data may become unrecoverable. Because key deletion is destructive, Amazon Web Services Payment Cryptography has a safety mechanism to prevent accidental deletion of a key. When you call this operation, Amazon Web Services Payment Cryptography disables the specified key but doesn't delete it until after a waiting period set using DeleteKeyInDays. The default waiting period is 7 days. During the waiting period, the KeyState is DELETE_PENDING. After the key is deleted, the KeyState is DELETE_COMPLETE. You should delete a key only when you are sure that you don't need to use it anymore and no other parties are utilizing this key. If you aren't sure, consider deactivating it instead by calling StopKeyUsage. Cross-account use: This operation can't be used across different Amazon Web Services accounts. Related operations: RestoreKey StartKeyUsage StopKeyUsage
|
44
44
|
*/
|
45
45
|
deleteKey(callback?: (err: AWSError, data: PaymentCryptography.Types.DeleteKeyOutput) => void): Request<PaymentCryptography.Types.DeleteKeyOutput, AWSError>;
|
46
46
|
/**
|
47
|
-
* Exports a key from Amazon Web Services Payment Cryptography
|
47
|
+
* Exports a key from Amazon Web Services Payment Cryptography. Amazon Web Services Payment Cryptography simplifies key exchange by replacing the existing paper-based approach with a modern electronic approach. With ExportKey you can export symmetric keys using either symmetric and asymmetric key exchange mechanisms. Using this operation, you can share your Amazon Web Services Payment Cryptography generated keys with other service partners to perform cryptographic operations outside of Amazon Web Services Payment Cryptography For symmetric key exchange, Amazon Web Services Payment Cryptography uses the ANSI X9 TR-31 norm in accordance with PCI PIN guidelines. And for asymmetric key exchange, Amazon Web Services Payment Cryptography supports ANSI X9 TR-34 norm . Asymmetric key exchange methods are typically used to establish bi-directional trust between the two parties exhanging keys and are used for initial key exchange such as Key Encryption Key (KEK). After which you can export working keys using symmetric method to perform various cryptographic operations within Amazon Web Services Payment Cryptography. The TR-34 norm is intended for exchanging 3DES keys only and keys are imported in a WrappedKeyBlock format. Key attributes (such as KeyUsage, KeyAlgorithm, KeyModesOfUse, Exportability) are contained within the key block. You can also use ExportKey functionality to generate and export an IPEK (Initial Pin Encryption Key) from Amazon Web Services Payment Cryptography using either TR-31 or TR-34 export key exchange. IPEK is generated from BDK (Base Derivation Key) and ExportDukptInitialKey attribute KSN (KeySerialNumber). The generated IPEK does not persist within Amazon Web Services Payment Cryptography and has to be re-generated each time during export. To export KEK or IPEK using TR-34 Using this operation, you can export initial key using TR-34 asymmetric key exchange. You can only export KEK generated within Amazon Web Services Payment Cryptography. In TR-34 terminology, the sending party of the key is called Key Distribution Host (KDH) and the receiving party of the key is called Key Receiving Device (KRD). During key export process, KDH is Amazon Web Services Payment Cryptography which initiates key export and KRD is the user receiving the key. To initiate TR-34 key export, the KRD must obtain an export token by calling GetParametersForExport. This operation also generates a key pair for the purpose of key export, signs the key and returns back the signing public key certificate (also known as KDH signing certificate) and root certificate chain. The KDH uses the private key to sign the the export payload and the signing public key certificate is provided to KRD to verify the signature. The KRD can import the root certificate into its Hardware Security Module (HSM), as required. The export token and the associated KDH signing certificate expires after 7 days. Next the KRD generates a key pair for the the purpose of encrypting the KDH key and provides the public key cerificate (also known as KRD wrapping certificate) back to KDH. The KRD will also import the root cerificate chain into Amazon Web Services Payment Cryptography by calling ImportKey for RootCertificatePublicKey. The KDH, Amazon Web Services Payment Cryptography, will use the KRD wrapping cerificate to encrypt (wrap) the key under export and signs it with signing private key to generate a TR-34 WrappedKeyBlock. For more information on TR-34 key export, see section Exporting symmetric keys in the Amazon Web Services Payment Cryptography User Guide. Set the following parameters: ExportAttributes: Specify export attributes in case of IPEK export. This parameter is optional for KEK export. ExportKeyIdentifier: The KeyARN of the KEK or BDK (in case of IPEK) under export. KeyMaterial: Use Tr34KeyBlock parameters. CertificateAuthorityPublicKeyIdentifier: The KeyARN of the certificate chain that signed the KRD wrapping key certificate. ExportToken: Obtained from KDH by calling GetParametersForImport. WrappingKeyCertificate: The public key certificate in PEM format (base64 encoded) of the KRD wrapping key Amazon Web Services Payment Cryptography uses for encryption of the TR-34 export payload. This certificate must be signed by the root certificate (CertificateAuthorityPublicKeyIdentifier) imported into Amazon Web Services Payment Cryptography. When this operation is successful, Amazon Web Services Payment Cryptography returns the KEK or IPEK as a TR-34 WrappedKeyBlock. To export WK (Working Key) or IPEK using TR-31 Using this operation, you can export working keys or IPEK using TR-31 symmetric key exchange. In TR-31, you must use an initial key such as KEK to encrypt or wrap the key under export. To establish a KEK, you can use CreateKey or ImportKey. Set the following parameters: ExportAttributes: Specify export attributes in case of IPEK export. This parameter is optional for KEK export. ExportKeyIdentifier: The KeyARN of the KEK or BDK (in case of IPEK) under export. KeyMaterial: Use Tr31KeyBlock parameters. When this operation is successful, Amazon Web Services Payment Cryptography returns the WK or IPEK as a TR-31 WrappedKeyBlock. Cross-account use: This operation can't be used across different Amazon Web Services accounts. Related operations: GetParametersForExport ImportKey
|
48
48
|
*/
|
49
49
|
exportKey(params: PaymentCryptography.Types.ExportKeyInput, callback?: (err: AWSError, data: PaymentCryptography.Types.ExportKeyOutput) => void): Request<PaymentCryptography.Types.ExportKeyOutput, AWSError>;
|
50
50
|
/**
|
51
|
-
* Exports a key from Amazon Web Services Payment Cryptography
|
51
|
+
* Exports a key from Amazon Web Services Payment Cryptography. Amazon Web Services Payment Cryptography simplifies key exchange by replacing the existing paper-based approach with a modern electronic approach. With ExportKey you can export symmetric keys using either symmetric and asymmetric key exchange mechanisms. Using this operation, you can share your Amazon Web Services Payment Cryptography generated keys with other service partners to perform cryptographic operations outside of Amazon Web Services Payment Cryptography For symmetric key exchange, Amazon Web Services Payment Cryptography uses the ANSI X9 TR-31 norm in accordance with PCI PIN guidelines. And for asymmetric key exchange, Amazon Web Services Payment Cryptography supports ANSI X9 TR-34 norm . Asymmetric key exchange methods are typically used to establish bi-directional trust between the two parties exhanging keys and are used for initial key exchange such as Key Encryption Key (KEK). After which you can export working keys using symmetric method to perform various cryptographic operations within Amazon Web Services Payment Cryptography. The TR-34 norm is intended for exchanging 3DES keys only and keys are imported in a WrappedKeyBlock format. Key attributes (such as KeyUsage, KeyAlgorithm, KeyModesOfUse, Exportability) are contained within the key block. You can also use ExportKey functionality to generate and export an IPEK (Initial Pin Encryption Key) from Amazon Web Services Payment Cryptography using either TR-31 or TR-34 export key exchange. IPEK is generated from BDK (Base Derivation Key) and ExportDukptInitialKey attribute KSN (KeySerialNumber). The generated IPEK does not persist within Amazon Web Services Payment Cryptography and has to be re-generated each time during export. To export KEK or IPEK using TR-34 Using this operation, you can export initial key using TR-34 asymmetric key exchange. You can only export KEK generated within Amazon Web Services Payment Cryptography. In TR-34 terminology, the sending party of the key is called Key Distribution Host (KDH) and the receiving party of the key is called Key Receiving Device (KRD). During key export process, KDH is Amazon Web Services Payment Cryptography which initiates key export and KRD is the user receiving the key. To initiate TR-34 key export, the KRD must obtain an export token by calling GetParametersForExport. This operation also generates a key pair for the purpose of key export, signs the key and returns back the signing public key certificate (also known as KDH signing certificate) and root certificate chain. The KDH uses the private key to sign the the export payload and the signing public key certificate is provided to KRD to verify the signature. The KRD can import the root certificate into its Hardware Security Module (HSM), as required. The export token and the associated KDH signing certificate expires after 7 days. Next the KRD generates a key pair for the the purpose of encrypting the KDH key and provides the public key cerificate (also known as KRD wrapping certificate) back to KDH. The KRD will also import the root cerificate chain into Amazon Web Services Payment Cryptography by calling ImportKey for RootCertificatePublicKey. The KDH, Amazon Web Services Payment Cryptography, will use the KRD wrapping cerificate to encrypt (wrap) the key under export and signs it with signing private key to generate a TR-34 WrappedKeyBlock. For more information on TR-34 key export, see section Exporting symmetric keys in the Amazon Web Services Payment Cryptography User Guide. Set the following parameters: ExportAttributes: Specify export attributes in case of IPEK export. This parameter is optional for KEK export. ExportKeyIdentifier: The KeyARN of the KEK or BDK (in case of IPEK) under export. KeyMaterial: Use Tr34KeyBlock parameters. CertificateAuthorityPublicKeyIdentifier: The KeyARN of the certificate chain that signed the KRD wrapping key certificate. ExportToken: Obtained from KDH by calling GetParametersForImport. WrappingKeyCertificate: The public key certificate in PEM format (base64 encoded) of the KRD wrapping key Amazon Web Services Payment Cryptography uses for encryption of the TR-34 export payload. This certificate must be signed by the root certificate (CertificateAuthorityPublicKeyIdentifier) imported into Amazon Web Services Payment Cryptography. When this operation is successful, Amazon Web Services Payment Cryptography returns the KEK or IPEK as a TR-34 WrappedKeyBlock. To export WK (Working Key) or IPEK using TR-31 Using this operation, you can export working keys or IPEK using TR-31 symmetric key exchange. In TR-31, you must use an initial key such as KEK to encrypt or wrap the key under export. To establish a KEK, you can use CreateKey or ImportKey. Set the following parameters: ExportAttributes: Specify export attributes in case of IPEK export. This parameter is optional for KEK export. ExportKeyIdentifier: The KeyARN of the KEK or BDK (in case of IPEK) under export. KeyMaterial: Use Tr31KeyBlock parameters. When this operation is successful, Amazon Web Services Payment Cryptography returns the WK or IPEK as a TR-31 WrappedKeyBlock. Cross-account use: This operation can't be used across different Amazon Web Services accounts. Related operations: GetParametersForExport ImportKey
|
52
52
|
*/
|
53
53
|
exportKey(callback?: (err: AWSError, data: PaymentCryptography.Types.ExportKeyOutput) => void): Request<PaymentCryptography.Types.ExportKeyOutput, AWSError>;
|
54
54
|
/**
|
@@ -76,11 +76,11 @@ declare class PaymentCryptography extends Service {
|
|
76
76
|
*/
|
77
77
|
getParametersForExport(callback?: (err: AWSError, data: PaymentCryptography.Types.GetParametersForExportOutput) => void): Request<PaymentCryptography.Types.GetParametersForExportOutput, AWSError>;
|
78
78
|
/**
|
79
|
-
* Gets the import token and the wrapping key certificate to initiate a TR-34
|
79
|
+
* Gets the import token and the wrapping key certificate in PEM format (base64 encoded) to initiate a TR-34 WrappedKeyBlock. The wrapping key certificate wraps the key under import. The import token and wrapping key certificate must be in place and operational before calling ImportKey. The import token expires in 7 days. You can use the same import token to import multiple keys into your service account. Cross-account use: This operation can't be used across different Amazon Web Services accounts. Related operations: GetParametersForExport ImportKey
|
80
80
|
*/
|
81
81
|
getParametersForImport(params: PaymentCryptography.Types.GetParametersForImportInput, callback?: (err: AWSError, data: PaymentCryptography.Types.GetParametersForImportOutput) => void): Request<PaymentCryptography.Types.GetParametersForImportOutput, AWSError>;
|
82
82
|
/**
|
83
|
-
* Gets the import token and the wrapping key certificate to initiate a TR-34
|
83
|
+
* Gets the import token and the wrapping key certificate in PEM format (base64 encoded) to initiate a TR-34 WrappedKeyBlock. The wrapping key certificate wraps the key under import. The import token and wrapping key certificate must be in place and operational before calling ImportKey. The import token expires in 7 days. You can use the same import token to import multiple keys into your service account. Cross-account use: This operation can't be used across different Amazon Web Services accounts. Related operations: GetParametersForExport ImportKey
|
84
84
|
*/
|
85
85
|
getParametersForImport(callback?: (err: AWSError, data: PaymentCryptography.Types.GetParametersForImportOutput) => void): Request<PaymentCryptography.Types.GetParametersForImportOutput, AWSError>;
|
86
86
|
/**
|
@@ -92,11 +92,11 @@ declare class PaymentCryptography extends Service {
|
|
92
92
|
*/
|
93
93
|
getPublicKeyCertificate(callback?: (err: AWSError, data: PaymentCryptography.Types.GetPublicKeyCertificateOutput) => void): Request<PaymentCryptography.Types.GetPublicKeyCertificateOutput, AWSError>;
|
94
94
|
/**
|
95
|
-
* Imports keys and public key certificates into Amazon Web Services Payment Cryptography. Amazon Web Services Payment Cryptography simplifies
|
95
|
+
* Imports symmetric keys and public key certificates in PEM format (base64 encoded) into Amazon Web Services Payment Cryptography. Amazon Web Services Payment Cryptography simplifies key exchange by replacing the existing paper-based approach with a modern electronic approach. With ImportKey you can import symmetric keys using either symmetric and asymmetric key exchange mechanisms. For symmetric key exchange, Amazon Web Services Payment Cryptography uses the ANSI X9 TR-31 norm in accordance with PCI PIN guidelines. And for asymmetric key exchange, Amazon Web Services Payment Cryptography supports ANSI X9 TR-34 norm . Asymmetric key exchange methods are typically used to establish bi-directional trust between the two parties exhanging keys and are used for initial key exchange such as Key Encryption Key (KEK) or Zone Master Key (ZMK). After which you can import working keys using symmetric method to perform various cryptographic operations within Amazon Web Services Payment Cryptography. The TR-34 norm is intended for exchanging 3DES keys only and keys are imported in a WrappedKeyBlock format. Key attributes (such as KeyUsage, KeyAlgorithm, KeyModesOfUse, Exportability) are contained within the key block. You can also import a root public key certificate, used to sign other public key certificates, or a trusted public key certificate under an already established root public key certificate. To import a public root key certificate You can also import a root public key certificate, used to sign other public key certificates, or a trusted public key certificate under an already established root public key certificate. To import a public root key certificate Using this operation, you can import the public component (in PEM cerificate format) of your private root key. You can use the imported public root key certificate for digital signatures, for example signing wrapping key or signing key in TR-34, within your Amazon Web Services Payment Cryptography account. Set the following parameters: KeyMaterial: RootCertificatePublicKey KeyClass: PUBLIC_KEY KeyModesOfUse: Verify KeyUsage: TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE PublicKeyCertificate: The public key certificate in PEM format (base64 encoded) of the private root key under import. To import a trusted public key certificate The root public key certificate must be in place and operational before you import a trusted public key certificate. Set the following parameters: KeyMaterial: TrustedCertificatePublicKey CertificateAuthorityPublicKeyIdentifier: KeyArn of the RootCertificatePublicKey. KeyModesOfUse and KeyUsage: Corresponding to the cryptographic operations such as wrap, sign, or encrypt that you will allow the trusted public key certificate to perform. PublicKeyCertificate: The trusted public key certificate in PEM format (base64 encoded) under import. To import KEK or ZMK using TR-34 Using this operation, you can import initial key using TR-34 asymmetric key exchange. In TR-34 terminology, the sending party of the key is called Key Distribution Host (KDH) and the receiving party of the key is called Key Receiving Device (KRD). During the key import process, KDH is the user who initiates the key import and KRD is Amazon Web Services Payment Cryptography who receives the key. To initiate TR-34 key import, the KDH must obtain an import token by calling GetParametersForImport. This operation generates an encryption keypair for the purpose of key import, signs the key and returns back the wrapping key certificate (also known as KRD wrapping certificate) and the root certificate chain. The KDH must trust and install the KRD wrapping certificate on its HSM and use it to encrypt (wrap) the KDH key during TR-34 WrappedKeyBlock generation. The import token and associated KRD wrapping certificate expires after 7 days. Next the KDH generates a key pair for the purpose of signing the encrypted KDH key and provides the public certificate of the signing key to Amazon Web Services Payment Cryptography. The KDH will also need to import the root certificate chain of the KDH signing certificate by calling ImportKey for RootCertificatePublicKey. For more information on TR-34 key import, see section Importing symmetric keys in the Amazon Web Services Payment Cryptography User Guide. Set the following parameters: KeyMaterial: Use Tr34KeyBlock parameters. CertificateAuthorityPublicKeyIdentifier: The KeyARN of the certificate chain that signed the KDH signing key certificate. ImportToken: Obtained from KRD by calling GetParametersForImport. WrappedKeyBlock: The TR-34 wrapped key material from KDH. It contains the KDH key under import, wrapped with KRD wrapping certificate and signed by KDH signing private key. This TR-34 key block is typically generated by the KDH Hardware Security Module (HSM) outside of Amazon Web Services Payment Cryptography. SigningKeyCertificate: The public key certificate in PEM format (base64 encoded) of the KDH signing key generated under the root certificate (CertificateAuthorityPublicKeyIdentifier) imported in Amazon Web Services Payment Cryptography. To import WK (Working Key) using TR-31 Amazon Web Services Payment Cryptography uses TR-31 symmetric key exchange norm to import working keys. A KEK must be established within Amazon Web Services Payment Cryptography by using TR-34 key import or by using CreateKey. To initiate a TR-31 key import, set the following parameters: KeyMaterial: Use Tr31KeyBlock parameters. WrappedKeyBlock: The TR-31 wrapped key material. It contains the key under import, encrypted using KEK. The TR-31 key block is typically generated by a HSM outside of Amazon Web Services Payment Cryptography. WrappingKeyIdentifier: The KeyArn of the KEK that Amazon Web Services Payment Cryptography uses to decrypt or unwrap the key under import. Cross-account use: This operation can't be used across different Amazon Web Services accounts. Related operations: ExportKey GetParametersForImport
|
96
96
|
*/
|
97
97
|
importKey(params: PaymentCryptography.Types.ImportKeyInput, callback?: (err: AWSError, data: PaymentCryptography.Types.ImportKeyOutput) => void): Request<PaymentCryptography.Types.ImportKeyOutput, AWSError>;
|
98
98
|
/**
|
99
|
-
* Imports keys and public key certificates into Amazon Web Services Payment Cryptography. Amazon Web Services Payment Cryptography simplifies
|
99
|
+
* Imports symmetric keys and public key certificates in PEM format (base64 encoded) into Amazon Web Services Payment Cryptography. Amazon Web Services Payment Cryptography simplifies key exchange by replacing the existing paper-based approach with a modern electronic approach. With ImportKey you can import symmetric keys using either symmetric and asymmetric key exchange mechanisms. For symmetric key exchange, Amazon Web Services Payment Cryptography uses the ANSI X9 TR-31 norm in accordance with PCI PIN guidelines. And for asymmetric key exchange, Amazon Web Services Payment Cryptography supports ANSI X9 TR-34 norm . Asymmetric key exchange methods are typically used to establish bi-directional trust between the two parties exhanging keys and are used for initial key exchange such as Key Encryption Key (KEK) or Zone Master Key (ZMK). After which you can import working keys using symmetric method to perform various cryptographic operations within Amazon Web Services Payment Cryptography. The TR-34 norm is intended for exchanging 3DES keys only and keys are imported in a WrappedKeyBlock format. Key attributes (such as KeyUsage, KeyAlgorithm, KeyModesOfUse, Exportability) are contained within the key block. You can also import a root public key certificate, used to sign other public key certificates, or a trusted public key certificate under an already established root public key certificate. To import a public root key certificate You can also import a root public key certificate, used to sign other public key certificates, or a trusted public key certificate under an already established root public key certificate. To import a public root key certificate Using this operation, you can import the public component (in PEM cerificate format) of your private root key. You can use the imported public root key certificate for digital signatures, for example signing wrapping key or signing key in TR-34, within your Amazon Web Services Payment Cryptography account. Set the following parameters: KeyMaterial: RootCertificatePublicKey KeyClass: PUBLIC_KEY KeyModesOfUse: Verify KeyUsage: TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE PublicKeyCertificate: The public key certificate in PEM format (base64 encoded) of the private root key under import. To import a trusted public key certificate The root public key certificate must be in place and operational before you import a trusted public key certificate. Set the following parameters: KeyMaterial: TrustedCertificatePublicKey CertificateAuthorityPublicKeyIdentifier: KeyArn of the RootCertificatePublicKey. KeyModesOfUse and KeyUsage: Corresponding to the cryptographic operations such as wrap, sign, or encrypt that you will allow the trusted public key certificate to perform. PublicKeyCertificate: The trusted public key certificate in PEM format (base64 encoded) under import. To import KEK or ZMK using TR-34 Using this operation, you can import initial key using TR-34 asymmetric key exchange. In TR-34 terminology, the sending party of the key is called Key Distribution Host (KDH) and the receiving party of the key is called Key Receiving Device (KRD). During the key import process, KDH is the user who initiates the key import and KRD is Amazon Web Services Payment Cryptography who receives the key. To initiate TR-34 key import, the KDH must obtain an import token by calling GetParametersForImport. This operation generates an encryption keypair for the purpose of key import, signs the key and returns back the wrapping key certificate (also known as KRD wrapping certificate) and the root certificate chain. The KDH must trust and install the KRD wrapping certificate on its HSM and use it to encrypt (wrap) the KDH key during TR-34 WrappedKeyBlock generation. The import token and associated KRD wrapping certificate expires after 7 days. Next the KDH generates a key pair for the purpose of signing the encrypted KDH key and provides the public certificate of the signing key to Amazon Web Services Payment Cryptography. The KDH will also need to import the root certificate chain of the KDH signing certificate by calling ImportKey for RootCertificatePublicKey. For more information on TR-34 key import, see section Importing symmetric keys in the Amazon Web Services Payment Cryptography User Guide. Set the following parameters: KeyMaterial: Use Tr34KeyBlock parameters. CertificateAuthorityPublicKeyIdentifier: The KeyARN of the certificate chain that signed the KDH signing key certificate. ImportToken: Obtained from KRD by calling GetParametersForImport. WrappedKeyBlock: The TR-34 wrapped key material from KDH. It contains the KDH key under import, wrapped with KRD wrapping certificate and signed by KDH signing private key. This TR-34 key block is typically generated by the KDH Hardware Security Module (HSM) outside of Amazon Web Services Payment Cryptography. SigningKeyCertificate: The public key certificate in PEM format (base64 encoded) of the KDH signing key generated under the root certificate (CertificateAuthorityPublicKeyIdentifier) imported in Amazon Web Services Payment Cryptography. To import WK (Working Key) using TR-31 Amazon Web Services Payment Cryptography uses TR-31 symmetric key exchange norm to import working keys. A KEK must be established within Amazon Web Services Payment Cryptography by using TR-34 key import or by using CreateKey. To initiate a TR-31 key import, set the following parameters: KeyMaterial: Use Tr31KeyBlock parameters. WrappedKeyBlock: The TR-31 wrapped key material. It contains the key under import, encrypted using KEK. The TR-31 key block is typically generated by a HSM outside of Amazon Web Services Payment Cryptography. WrappingKeyIdentifier: The KeyArn of the KEK that Amazon Web Services Payment Cryptography uses to decrypt or unwrap the key under import. Cross-account use: This operation can't be used across different Amazon Web Services accounts. Related operations: ExportKey GetParametersForImport
|
100
100
|
*/
|
101
101
|
importKey(callback?: (err: AWSError, data: PaymentCryptography.Types.ImportKeyOutput) => void): Request<PaymentCryptography.Types.ImportKeyOutput, AWSError>;
|
102
102
|
/**
|
@@ -189,7 +189,7 @@ declare namespace PaymentCryptography {
|
|
189
189
|
export type CertificateType = string;
|
190
190
|
export interface CreateAliasInput {
|
191
191
|
/**
|
192
|
-
* A friendly name that you can use to refer a key. An alias must begin with alias/ followed by a name, for example alias/ExampleAlias. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). Don't include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
|
192
|
+
* A friendly name that you can use to refer to a key. An alias must begin with alias/ followed by a name, for example alias/ExampleAlias. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). Don't include personal, confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
|
193
193
|
*/
|
194
194
|
AliasName: AliasName;
|
195
195
|
/**
|
@@ -205,7 +205,7 @@ declare namespace PaymentCryptography {
|
|
205
205
|
}
|
206
206
|
export interface CreateKeyInput {
|
207
207
|
/**
|
208
|
-
* Specifies whether to enable the key. If the key is enabled, it is activated for use within the service. If the key not enabled, then it is created but not activated. The default value is enabled.
|
208
|
+
* Specifies whether to enable the key. If the key is enabled, it is activated for use within the service. If the key is not enabled, then it is created but not activated. The default value is enabled.
|
209
209
|
*/
|
210
210
|
Enabled?: Boolean;
|
211
211
|
/**
|
@@ -217,11 +217,11 @@ declare namespace PaymentCryptography {
|
|
217
217
|
*/
|
218
218
|
KeyAttributes: KeyAttributes;
|
219
219
|
/**
|
220
|
-
* The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV)
|
220
|
+
* The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity. For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
|
221
221
|
*/
|
222
222
|
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
|
223
223
|
/**
|
224
|
-
*
|
224
|
+
* Assigns one or more tags to the Amazon Web Services Payment Cryptography key. Use this parameter to tag a key when it is created. To tag an existing Amazon Web Services Payment Cryptography key, use the TagResource operation. Each tag consists of a tag key and a tag value. Both the tag key and the tag value are required, but the tag value can be an empty (null) string. You can't have more than one tag on an Amazon Web Services Payment Cryptography key with the same tag key. Don't include personal, confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output. Tagging or untagging an Amazon Web Services Payment Cryptography key can allow or deny permission to the key.
|
225
225
|
*/
|
226
226
|
Tags?: Tags;
|
227
227
|
}
|
@@ -256,7 +256,27 @@ declare namespace PaymentCryptography {
|
|
256
256
|
*/
|
257
257
|
Key: Key;
|
258
258
|
}
|
259
|
+
export interface ExportAttributes {
|
260
|
+
/**
|
261
|
+
* Parameter information for IPEK export.
|
262
|
+
*/
|
263
|
+
ExportDukptInitialKey?: ExportDukptInitialKey;
|
264
|
+
/**
|
265
|
+
* The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity. Specify KCV for IPEK export only. For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
|
266
|
+
*/
|
267
|
+
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
|
268
|
+
}
|
269
|
+
export interface ExportDukptInitialKey {
|
270
|
+
/**
|
271
|
+
* The KSN for IPEK generation using DUKPT. KSN must be padded before sending to Amazon Web Services Payment Cryptography. KSN hex length should be 20 for a TDES_2KEY key or 24 for an AES key.
|
272
|
+
*/
|
273
|
+
KeySerialNumber: HexLength20Or24;
|
274
|
+
}
|
259
275
|
export interface ExportKeyInput {
|
276
|
+
/**
|
277
|
+
* The attributes for IPEK generation during export.
|
278
|
+
*/
|
279
|
+
ExportAttributes?: ExportAttributes;
|
260
280
|
/**
|
261
281
|
* The KeyARN of the key under export from Amazon Web Services Payment Cryptography.
|
262
282
|
*/
|
@@ -268,17 +288,17 @@ declare namespace PaymentCryptography {
|
|
268
288
|
}
|
269
289
|
export interface ExportKeyMaterial {
|
270
290
|
/**
|
271
|
-
* Parameter information for key material export using TR-31
|
291
|
+
* Parameter information for key material export using symmetric TR-31 key exchange method.
|
272
292
|
*/
|
273
293
|
Tr31KeyBlock?: ExportTr31KeyBlock;
|
274
294
|
/**
|
275
|
-
* Parameter information for key material export using TR-34
|
295
|
+
* Parameter information for key material export using the asymmetric TR-34 key exchange method.
|
276
296
|
*/
|
277
297
|
Tr34KeyBlock?: ExportTr34KeyBlock;
|
278
298
|
}
|
279
299
|
export interface ExportKeyOutput {
|
280
300
|
/**
|
281
|
-
* The key material under export as a TR-34 or TR-31
|
301
|
+
* The key material under export as a TR-34 WrappedKeyBlock or a TR-31 WrappedKeyBlock.
|
282
302
|
*/
|
283
303
|
WrappedKey?: WrappedKey;
|
284
304
|
}
|
@@ -341,7 +361,7 @@ declare namespace PaymentCryptography {
|
|
341
361
|
*/
|
342
362
|
KeyMaterialType: KeyMaterialType;
|
343
363
|
/**
|
344
|
-
* The signing key algorithm to generate a signing key certificate. This certificate signs the wrapped key under export within the TR-34 key block
|
364
|
+
* The signing key algorithm to generate a signing key certificate. This certificate signs the wrapped key under export within the TR-34 key block. RSA_2048 is the only signing key algorithm allowed.
|
345
365
|
*/
|
346
366
|
SigningKeyAlgorithm: KeyAlgorithm;
|
347
367
|
}
|
@@ -359,21 +379,21 @@ declare namespace PaymentCryptography {
|
|
359
379
|
*/
|
360
380
|
SigningKeyAlgorithm: KeyAlgorithm;
|
361
381
|
/**
|
362
|
-
* The signing key certificate of the public key for signature within the TR-34 key block
|
382
|
+
* The signing key certificate in PEM format (base64 encoded) of the public key for signature within the TR-34 key block. The certificate expires after 7 days.
|
363
383
|
*/
|
364
384
|
SigningKeyCertificate: CertificateType;
|
365
385
|
/**
|
366
|
-
* The certificate
|
386
|
+
* The root certificate authority (CA) that signed the signing key certificate in PEM format (base64 encoded).
|
367
387
|
*/
|
368
388
|
SigningKeyCertificateChain: CertificateType;
|
369
389
|
}
|
370
390
|
export interface GetParametersForImportInput {
|
371
391
|
/**
|
372
|
-
* The
|
392
|
+
* The method to use for key material import. Import token is only required for TR-34 WrappedKeyBlock (TR34_KEY_BLOCK). Import token is not required for TR-31, root public key cerificate or trusted public key certificate.
|
373
393
|
*/
|
374
394
|
KeyMaterialType: KeyMaterialType;
|
375
395
|
/**
|
376
|
-
* The wrapping key algorithm to generate a wrapping key certificate. This certificate wraps the key under import
|
396
|
+
* The wrapping key algorithm to generate a wrapping key certificate. This certificate wraps the key under import. At this time, RSA_2048, RSA_3072, RSA_4096 are the only allowed algorithms for TR-34 WrappedKeyBlock import.
|
377
397
|
*/
|
378
398
|
WrappingKeyAlgorithm: KeyAlgorithm;
|
379
399
|
}
|
@@ -387,15 +407,15 @@ declare namespace PaymentCryptography {
|
|
387
407
|
*/
|
388
408
|
ParametersValidUntilTimestamp: Timestamp;
|
389
409
|
/**
|
390
|
-
* The algorithm of the wrapping key for use within TR-34
|
410
|
+
* The algorithm of the wrapping key for use within TR-34 WrappedKeyBlock.
|
391
411
|
*/
|
392
412
|
WrappingKeyAlgorithm: KeyAlgorithm;
|
393
413
|
/**
|
394
|
-
* The wrapping key certificate of the wrapping key for use within the TR-34 key block. The certificate expires in 7 days.
|
414
|
+
* The wrapping key certificate in PEM format (base64 encoded) of the wrapping key for use within the TR-34 key block. The certificate expires in 7 days.
|
395
415
|
*/
|
396
416
|
WrappingKeyCertificate: CertificateType;
|
397
417
|
/**
|
398
|
-
* The Amazon Web Services Payment Cryptography certificate
|
418
|
+
* The Amazon Web Services Payment Cryptography root certificate authority (CA) that signed the wrapping key certificate in PEM format (base64 encoded).
|
399
419
|
*/
|
400
420
|
WrappingKeyCertificateChain: CertificateType;
|
401
421
|
}
|
@@ -407,22 +427,23 @@ declare namespace PaymentCryptography {
|
|
407
427
|
}
|
408
428
|
export interface GetPublicKeyCertificateOutput {
|
409
429
|
/**
|
410
|
-
* The public key component of the asymmetric key pair in a certificate
|
430
|
+
* The public key component of the asymmetric key pair in a certificate PEM format (base64 encoded). It is signed by the root certificate authority (CA). The certificate expires in 90 days.
|
411
431
|
*/
|
412
432
|
KeyCertificate: CertificateType;
|
413
433
|
/**
|
414
|
-
* The certificate
|
434
|
+
* The root certificate authority (CA) that signed the public key certificate in PEM format (base64 encoded) of the asymmetric key pair.
|
415
435
|
*/
|
416
436
|
KeyCertificateChain: CertificateType;
|
417
437
|
}
|
418
438
|
export type HexLength16 = string;
|
439
|
+
export type HexLength20Or24 = string;
|
419
440
|
export interface ImportKeyInput {
|
420
441
|
/**
|
421
442
|
* Specifies whether import key is enabled.
|
422
443
|
*/
|
423
444
|
Enabled?: Boolean;
|
424
445
|
/**
|
425
|
-
* The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV)
|
446
|
+
* The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity. For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
|
426
447
|
*/
|
427
448
|
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
|
428
449
|
/**
|
@@ -430,7 +451,7 @@ declare namespace PaymentCryptography {
|
|
430
451
|
*/
|
431
452
|
KeyMaterial: ImportKeyMaterial;
|
432
453
|
/**
|
433
|
-
*
|
454
|
+
* Assigns one or more tags to the Amazon Web Services Payment Cryptography key. Use this parameter to tag a key when it is imported. To tag an existing Amazon Web Services Payment Cryptography key, use the TagResource operation. Each tag consists of a tag key and a tag value. Both the tag key and the tag value are required, but the tag value can be an empty (null) string. You can't have more than one tag on an Amazon Web Services Payment Cryptography key with the same tag key. If you specify an existing tag key with a different tag value, Amazon Web Services Payment Cryptography replaces the current tag value with the specified one. Don't include personal, confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output. Tagging or untagging an Amazon Web Services Payment Cryptography key can allow or deny permission to the key.
|
434
455
|
*/
|
435
456
|
Tags?: Tags;
|
436
457
|
}
|
@@ -440,11 +461,11 @@ declare namespace PaymentCryptography {
|
|
440
461
|
*/
|
441
462
|
RootCertificatePublicKey?: RootCertificatePublicKey;
|
442
463
|
/**
|
443
|
-
* Parameter information for key material import using TR-31
|
464
|
+
* Parameter information for key material import using symmetric TR-31 key exchange method.
|
444
465
|
*/
|
445
466
|
Tr31KeyBlock?: ImportTr31KeyBlock;
|
446
467
|
/**
|
447
|
-
* Parameter information for key material import using TR-34
|
468
|
+
* Parameter information for key material import using the asymmetric TR-34 key exchange method.
|
448
469
|
*/
|
449
470
|
Tr34KeyBlock?: ImportTr34KeyBlock;
|
450
471
|
/**
|
@@ -461,7 +482,7 @@ declare namespace PaymentCryptography {
|
|
461
482
|
export type ImportTokenId = string;
|
462
483
|
export interface ImportTr31KeyBlock {
|
463
484
|
/**
|
464
|
-
* The TR-
|
485
|
+
* The TR-31 wrapped key block to import.
|
465
486
|
*/
|
466
487
|
WrappedKeyBlock: Tr31WrappedKeyBlock;
|
467
488
|
/**
|
@@ -475,7 +496,7 @@ declare namespace PaymentCryptography {
|
|
475
496
|
*/
|
476
497
|
CertificateAuthorityPublicKeyIdentifier: KeyArnOrKeyAliasType;
|
477
498
|
/**
|
478
|
-
* The import token that initiates key import into Amazon Web Services Payment Cryptography. It expires after 7 days. You can use the same import token to import multiple keys to the same service account.
|
499
|
+
* The import token that initiates key import using the asymmetric TR-34 key exchange method into Amazon Web Services Payment Cryptography. It expires after 7 days. You can use the same import token to import multiple keys to the same service account.
|
479
500
|
*/
|
480
501
|
ImportToken: ImportTokenId;
|
481
502
|
/**
|
@@ -487,7 +508,7 @@ declare namespace PaymentCryptography {
|
|
487
508
|
*/
|
488
509
|
RandomNonce?: HexLength16;
|
489
510
|
/**
|
490
|
-
* The public key component in PEM certificate format of the private key that signs the KDH TR-34
|
511
|
+
* The public key component in PEM certificate format of the private key that signs the KDH TR-34 WrappedKeyBlock.
|
491
512
|
*/
|
492
513
|
SigningKeyCertificate: CertificateType;
|
493
514
|
/**
|
@@ -525,11 +546,11 @@ declare namespace PaymentCryptography {
|
|
525
546
|
*/
|
526
547
|
KeyAttributes: KeyAttributes;
|
527
548
|
/**
|
528
|
-
* The key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.
|
549
|
+
* The key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.
|
529
550
|
*/
|
530
551
|
KeyCheckValue: KeyCheckValue;
|
531
552
|
/**
|
532
|
-
* The algorithm
|
553
|
+
* The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity. For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
|
533
554
|
*/
|
534
555
|
KeyCheckValueAlgorithm: KeyCheckValueAlgorithm;
|
535
556
|
/**
|
@@ -633,7 +654,7 @@ declare namespace PaymentCryptography {
|
|
633
654
|
*/
|
634
655
|
KeyAttributes: KeyAttributes;
|
635
656
|
/**
|
636
|
-
* The key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.
|
657
|
+
* The key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.
|
637
658
|
*/
|
638
659
|
KeyCheckValue: KeyCheckValue;
|
639
660
|
/**
|
@@ -669,7 +690,7 @@ declare namespace PaymentCryptography {
|
|
669
690
|
*/
|
670
691
|
KeyState?: KeyState;
|
671
692
|
/**
|
672
|
-
* Use this parameter to specify the maximum number of items to return. When this value is present, Amazon Web Services Payment Cryptography does not return more than the specified number of items, but it might return fewer.
|
693
|
+
* Use this parameter to specify the maximum number of items to return. When this value is present, Amazon Web Services Payment Cryptography does not return more than the specified number of items, but it might return fewer. This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50.
|
673
694
|
*/
|
674
695
|
MaxResults?: MaxResults;
|
675
696
|
/**
|
@@ -689,7 +710,7 @@ declare namespace PaymentCryptography {
|
|
689
710
|
}
|
690
711
|
export interface ListTagsForResourceInput {
|
691
712
|
/**
|
692
|
-
* Use this parameter to specify the maximum number of items to return. When this value is present, Amazon Web Services Payment Cryptography does not return more than the specified number of items, but it might return fewer.
|
713
|
+
* Use this parameter to specify the maximum number of items to return. When this value is present, Amazon Web Services Payment Cryptography does not return more than the specified number of items, but it might return fewer. This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50.
|
693
714
|
*/
|
694
715
|
MaxResults?: MaxResults;
|
695
716
|
/**
|
@@ -779,7 +800,7 @@ declare namespace PaymentCryptography {
|
|
779
800
|
*/
|
780
801
|
ResourceArn: ResourceArn;
|
781
802
|
/**
|
782
|
-
* One or more tags. Each tag consists of a tag key and a tag value. The tag value can be an empty (null) string. You can't have more than one tag on an Amazon Web Services Payment Cryptography key with the same tag key. If you specify an existing tag key with a different tag value, Amazon Web Services Payment Cryptography replaces the current tag value with the new one. Don't include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output. To use this parameter, you must have TagResource permission in an IAM policy. Don't include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
|
803
|
+
* One or more tags. Each tag consists of a tag key and a tag value. The tag value can be an empty (null) string. You can't have more than one tag on an Amazon Web Services Payment Cryptography key with the same tag key. If you specify an existing tag key with a different tag value, Amazon Web Services Payment Cryptography replaces the current tag value with the new one. Don't include personal, confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output. To use this parameter, you must have TagResource permission in an IAM policy. Don't include personal, confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
|
783
804
|
*/
|
784
805
|
Tags: Tags;
|
785
806
|
}
|
@@ -835,7 +856,15 @@ declare namespace PaymentCryptography {
|
|
835
856
|
}
|
836
857
|
export interface WrappedKey {
|
837
858
|
/**
|
838
|
-
*
|
859
|
+
* The key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.
|
860
|
+
*/
|
861
|
+
KeyCheckValue?: KeyCheckValue;
|
862
|
+
/**
|
863
|
+
* The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity. For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
|
864
|
+
*/
|
865
|
+
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
|
866
|
+
/**
|
867
|
+
* Parameter information for generating a wrapped key using TR-31 or TR-34 skey exchange method.
|
839
868
|
*/
|
840
869
|
KeyMaterial: KeyMaterial;
|
841
870
|
/**
|