1{ 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2021-09-14", 5 "endpointPrefix":"controlplane.payment-cryptography", 6 "jsonVersion":"1.0", 7 "protocol":"json", 8 "serviceFullName":"Payment Cryptography Control Plane", 9 "serviceId":"Payment Cryptography", 10 "signatureVersion":"v4", 11 "signingName":"payment-cryptography", 12 "targetPrefix":"PaymentCryptographyControlPlane", 13 "uid":"payment-cryptography-2021-09-14" 14 }, 15 "operations":{ 16 "CreateAlias":{ 17 "name":"CreateAlias", 18 "http":{ 19 "method":"POST", 20 "requestUri":"/" 21 }, 22 "input":{"shape":"CreateAliasInput"}, 23 "output":{"shape":"CreateAliasOutput"}, 24 "errors":[ 25 {"shape":"ServiceQuotaExceededException"}, 26 {"shape":"ServiceUnavailableException"}, 27 {"shape":"ValidationException"}, 28 {"shape":"ConflictException"}, 29 {"shape":"AccessDeniedException"}, 30 {"shape":"ResourceNotFoundException"}, 31 {"shape":"ThrottlingException"}, 32 {"shape":"InternalServerException"} 33 ], 34 "documentation":"<p>Creates an <i>alias</i>, or a friendly name, for an Amazon Web Services Payment Cryptography key. You can use an alias to identify a key in the console and when you call cryptographic operations such as <a href=\"https://docs.aws.amazon.com/payment-cryptography/latest/DataAPIReference/API_EncryptData.html\">EncryptData</a> or <a href=\"https://docs.aws.amazon.com/payment-cryptography/latest/DataAPIReference/API_DecryptData.html\">DecryptData</a>.</p> <p>You can associate the alias with any key in the same Amazon Web Services Region. Each alias is associated with only one key at a time, but a key can have multiple aliases. You can't create an alias without a key. The alias must be unique in the account and Amazon Web Services Region, but you can create another alias with the same name in a different Amazon Web Services Region.</p> <p>To change the key that's associated with the alias, call <a>UpdateAlias</a>. To delete the alias, call <a>DeleteAlias</a>. These operations don't affect the underlying key. To get the alias that you created, call <a>ListAliases</a>.</p> <p> <b>Cross-account use</b>: This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a>DeleteAlias</a> </p> </li> <li> <p> <a>GetAlias</a> </p> </li> <li> <p> <a>ListAliases</a> </p> </li> <li> <p> <a>UpdateAlias</a> </p> </li> </ul>", 35 "idempotent":true 36 }, 37 "CreateKey":{ 38 "name":"CreateKey", 39 "http":{ 40 "method":"POST", 41 "requestUri":"/" 42 }, 43 "input":{"shape":"CreateKeyInput"}, 44 "output":{"shape":"CreateKeyOutput"}, 45 "errors":[ 46 {"shape":"ServiceQuotaExceededException"}, 47 {"shape":"ServiceUnavailableException"}, 48 {"shape":"ValidationException"}, 49 {"shape":"ConflictException"}, 50 {"shape":"AccessDeniedException"}, 51 {"shape":"ResourceNotFoundException"}, 52 {"shape":"ThrottlingException"}, 53 {"shape":"InternalServerException"} 54 ], 55 "documentation":"<p>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. </p> <p>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.</p> <p>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: <code>SYMMETRIC_KEY</code>), key algorithm (example: <code>TDES_2KEY</code>), key usage (example: <code>TR31_P0_PIN_ENCRYPTION_KEY</code>) and key modes of use (example: <code>Encrypt</code>). For information about valid combinations of key attributes, see <a href=\"https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-validattributes.html\">Understanding key attributes</a> in the <i>Amazon Web Services Payment Cryptography User Guide</i>. The mutable data contained within a key includes usage timestamp and key deletion timestamp and can be modified after creation.</p> <p>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. </p> <p> <b>Cross-account use</b>: This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a>DeleteKey</a> </p> </li> <li> <p> <a>GetKey</a> </p> </li> <li> <p> <a>ListKeys</a> </p> </li> </ul>" 56 }, 57 "DeleteAlias":{ 58 "name":"DeleteAlias", 59 "http":{ 60 "method":"POST", 61 "requestUri":"/" 62 }, 63 "input":{"shape":"DeleteAliasInput"}, 64 "output":{"shape":"DeleteAliasOutput"}, 65 "errors":[ 66 {"shape":"ServiceUnavailableException"}, 67 {"shape":"ValidationException"}, 68 {"shape":"ConflictException"}, 69 {"shape":"AccessDeniedException"}, 70 {"shape":"ResourceNotFoundException"}, 71 {"shape":"ThrottlingException"}, 72 {"shape":"InternalServerException"} 73 ], 74 "documentation":"<p>Deletes the alias, but doesn't affect the underlying key.</p> <p>Each key can have multiple aliases. To get the aliases of all keys, use the <a>ListAliases</a> operation. To change the alias of a key, first use <a>DeleteAlias</a> to delete the current alias and then use <a>CreateAlias</a> to create a new alias. To associate an existing alias with a different key, call <a>UpdateAlias</a>.</p> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a>CreateAlias</a> </p> </li> <li> <p> <a>GetAlias</a> </p> </li> <li> <p> <a>ListAliases</a> </p> </li> <li> <p> <a>UpdateAlias</a> </p> </li> </ul>", 75 "idempotent":true 76 }, 77 "DeleteKey":{ 78 "name":"DeleteKey", 79 "http":{ 80 "method":"POST", 81 "requestUri":"/" 82 }, 83 "input":{"shape":"DeleteKeyInput"}, 84 "output":{"shape":"DeleteKeyOutput"}, 85 "errors":[ 86 {"shape":"ServiceUnavailableException"}, 87 {"shape":"ValidationException"}, 88 {"shape":"ConflictException"}, 89 {"shape":"AccessDeniedException"}, 90 {"shape":"ResourceNotFoundException"}, 91 {"shape":"ThrottlingException"}, 92 {"shape":"InternalServerException"} 93 ], 94 "documentation":"<p>Deletes the key material and metadata associated with Amazon Web Services Payment Cryptography key.</p> <p>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 <code>DeleteKeyInDays</code>. The default waiting period is 7 days. During the waiting period, the <code>KeyState</code> is <code>DELETE_PENDING</code>. After the key is deleted, the <code>KeyState</code> is <code>DELETE_COMPLETE</code>.</p> <p>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 <a>StopKeyUsage</a>.</p> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a>RestoreKey</a> </p> </li> <li> <p> <a>StartKeyUsage</a> </p> </li> <li> <p> <a>StopKeyUsage</a> </p> </li> </ul>", 95 "idempotent":true 96 }, 97 "ExportKey":{ 98 "name":"ExportKey", 99 "http":{ 100 "method":"POST", 101 "requestUri":"/" 102 }, 103 "input":{"shape":"ExportKeyInput"}, 104 "output":{"shape":"ExportKeyOutput"}, 105 "errors":[ 106 {"shape":"ServiceUnavailableException"}, 107 {"shape":"ValidationException"}, 108 {"shape":"ConflictException"}, 109 {"shape":"AccessDeniedException"}, 110 {"shape":"ResourceNotFoundException"}, 111 {"shape":"ThrottlingException"}, 112 {"shape":"InternalServerException"} 113 ], 114 "documentation":"<p>Exports a key from Amazon Web Services Payment Cryptography.</p> <p>Amazon Web Services Payment Cryptography simplifies key exchange by replacing the existing paper-based approach with a modern electronic approach. With <code>ExportKey</code> 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 </p> <p>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 and RSA wrap and unwrap key exchange mechanism. 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.</p> <p>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. With RSA wrap and unwrap, you can exchange both 3DES and AES-128 keys. The keys are imported in a WrappedKeyCryptogram format and you will need to specify the key attributes during import. </p> <p>You can also use <code>ExportKey</code> 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 <code>ExportDukptInitialKey</code> attribute KSN (<code>KeySerialNumber</code>). The generated IPEK does not persist within Amazon Web Services Payment Cryptography and has to be re-generated each time during export.</p> <p> <b>To export initial keys (KEK) or IPEK using TR-34</b> </p> <p>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.</p> <p>To initiate TR-34 key export, the KRD must obtain an export token by calling <a>GetParametersForExport</a>. 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. </p> <p>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 <a>ImportKey</a> for <code>RootCertificatePublicKey</code>. 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 <a href=\"https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-export.html\">Exporting symmetric keys</a> in the <i>Amazon Web Services Payment Cryptography User Guide</i>. </p> <p>Set the following parameters:</p> <ul> <li> <p> <code>ExportAttributes</code>: Specify export attributes in case of IPEK export. This parameter is optional for KEK export.</p> </li> <li> <p> <code>ExportKeyIdentifier</code>: The <code>KeyARN</code> of the KEK or BDK (in case of IPEK) under export.</p> </li> <li> <p> <code>KeyMaterial</code>: Use <code>Tr34KeyBlock</code> parameters.</p> </li> <li> <p> <code>CertificateAuthorityPublicKeyIdentifier</code>: The <code>KeyARN</code> of the certificate chain that signed the KRD wrapping key certificate.</p> </li> <li> <p> <code>ExportToken</code>: Obtained from KDH by calling <a>GetParametersForImport</a>.</p> </li> <li> <p> <code>WrappingKeyCertificate</code>: 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.</p> </li> </ul> <p>When this operation is successful, Amazon Web Services Payment Cryptography returns the KEK or IPEK as a TR-34 WrappedKeyBlock. </p> <p> <b>To export initial keys (KEK) or IPEK using RSA Wrap and Unwrap</b> </p> <p>Using this operation, you can export initial key using asymmetric RSA wrap and unwrap key exchange method. To initiate export, generate an asymmetric key pair on the receiving HSM and obtain the public key certificate in PEM format (base64 encoded) for the purpose of wrapping and the root certifiate chain. Import the root certificate into Amazon Web Services Payment Cryptography by calling <a>ImportKey</a> for <code>RootCertificatePublicKey</code>.</p> <p>Next call <code>ExportKey</code> and set the following parameters:</p> <ul> <li> <p> <code>CertificateAuthorityPublicKeyIdentifier</code>: The <code>KeyARN</code> of the certificate chain that signed wrapping key certificate.</p> </li> <li> <p> <code>KeyMaterial</code>: Set to <code>KeyCryptogram</code>.</p> </li> <li> <p> <code>WrappingKeyCertificate</code>: The public key certificate in PEM format (base64 encoded) obtained by the receiving HSM and signed by the root certificate (CertificateAuthorityPublicKeyIdentifier) imported into Amazon Web Services Payment Cryptography. The receiving HSM uses its private key component to unwrap the WrappedKeyCryptogram.</p> </li> </ul> <p>When this operation is successful, Amazon Web Services Payment Cryptography returns the WrappedKeyCryptogram. </p> <p> <b>To export working keys or IPEK using TR-31</b> </p> <p>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 <a>CreateKey</a> or <a>ImportKey</a>. </p> <p>Set the following parameters:</p> <ul> <li> <p> <code>ExportAttributes</code>: Specify export attributes in case of IPEK export. This parameter is optional for KEK export.</p> </li> <li> <p> <code>ExportKeyIdentifier</code>: The <code>KeyARN</code> of the KEK or BDK (in case of IPEK) under export.</p> </li> <li> <p> <code>KeyMaterial</code>: Use <code>Tr31KeyBlock</code> parameters.</p> </li> </ul> <p>When this operation is successful, Amazon Web Services Payment Cryptography returns the working key or IPEK as a TR-31 WrappedKeyBlock.</p> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a>GetParametersForExport</a> </p> </li> <li> <p> <a>ImportKey</a> </p> </li> </ul>" 115 }, 116 "GetAlias":{ 117 "name":"GetAlias", 118 "http":{ 119 "method":"POST", 120 "requestUri":"/" 121 }, 122 "input":{"shape":"GetAliasInput"}, 123 "output":{"shape":"GetAliasOutput"}, 124 "errors":[ 125 {"shape":"ServiceUnavailableException"}, 126 {"shape":"ValidationException"}, 127 {"shape":"AccessDeniedException"}, 128 {"shape":"ResourceNotFoundException"}, 129 {"shape":"ThrottlingException"}, 130 {"shape":"InternalServerException"} 131 ], 132 "documentation":"<p>Gets the Amazon Web Services Payment Cryptography key associated with the alias.</p> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a>CreateAlias</a> </p> </li> <li> <p> <a>DeleteAlias</a> </p> </li> <li> <p> <a>ListAliases</a> </p> </li> <li> <p> <a>UpdateAlias</a> </p> </li> </ul>" 133 }, 134 "GetKey":{ 135 "name":"GetKey", 136 "http":{ 137 "method":"POST", 138 "requestUri":"/" 139 }, 140 "input":{"shape":"GetKeyInput"}, 141 "output":{"shape":"GetKeyOutput"}, 142 "errors":[ 143 {"shape":"ServiceUnavailableException"}, 144 {"shape":"ValidationException"}, 145 {"shape":"AccessDeniedException"}, 146 {"shape":"ResourceNotFoundException"}, 147 {"shape":"ThrottlingException"}, 148 {"shape":"InternalServerException"} 149 ], 150 "documentation":"<p>Gets the key material for an Amazon Web Services Payment Cryptography key, including the immutable and mutable data specified when the key was created.</p> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a>CreateKey</a> </p> </li> <li> <p> <a>DeleteKey</a> </p> </li> <li> <p> <a>ListKeys</a> </p> </li> </ul>" 151 }, 152 "GetParametersForExport":{ 153 "name":"GetParametersForExport", 154 "http":{ 155 "method":"POST", 156 "requestUri":"/" 157 }, 158 "input":{"shape":"GetParametersForExportInput"}, 159 "output":{"shape":"GetParametersForExportOutput"}, 160 "errors":[ 161 {"shape":"ServiceQuotaExceededException"}, 162 {"shape":"ServiceUnavailableException"}, 163 {"shape":"ValidationException"}, 164 {"shape":"ConflictException"}, 165 {"shape":"AccessDeniedException"}, 166 {"shape":"ResourceNotFoundException"}, 167 {"shape":"ThrottlingException"}, 168 {"shape":"InternalServerException"} 169 ], 170 "documentation":"<p>Gets the export token and the signing key certificate to initiate a TR-34 key export from Amazon Web Services Payment Cryptography.</p> <p>The signing key certificate signs the wrapped key under export within the TR-34 key payload. The export token and signing key certificate must be in place and operational before calling <a>ExportKey</a>. The export token expires in 7 days. You can use the same export token to export multiple keys from your service account.</p> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a>ExportKey</a> </p> </li> <li> <p> <a>GetParametersForImport</a> </p> </li> </ul>" 171 }, 172 "GetParametersForImport":{ 173 "name":"GetParametersForImport", 174 "http":{ 175 "method":"POST", 176 "requestUri":"/" 177 }, 178 "input":{"shape":"GetParametersForImportInput"}, 179 "output":{"shape":"GetParametersForImportOutput"}, 180 "errors":[ 181 {"shape":"ServiceQuotaExceededException"}, 182 {"shape":"ServiceUnavailableException"}, 183 {"shape":"ValidationException"}, 184 {"shape":"ConflictException"}, 185 {"shape":"AccessDeniedException"}, 186 {"shape":"ResourceNotFoundException"}, 187 {"shape":"ThrottlingException"}, 188 {"shape":"InternalServerException"} 189 ], 190 "documentation":"<p>Gets the import token and the wrapping key certificate in PEM format (base64 encoded) to initiate a TR-34 WrappedKeyBlock or a RSA WrappedKeyCryptogram import into Amazon Web Services Payment Cryptography.</p> <p>The wrapping key certificate wraps the key under import. The import token and wrapping key certificate must be in place and operational before calling <a>ImportKey</a>. The import token expires in 7 days. You can use the same import token to import multiple keys into your service account.</p> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a>GetParametersForExport</a> </p> </li> <li> <p> <a>ImportKey</a> </p> </li> </ul>" 191 }, 192 "GetPublicKeyCertificate":{ 193 "name":"GetPublicKeyCertificate", 194 "http":{ 195 "method":"POST", 196 "requestUri":"/" 197 }, 198 "input":{"shape":"GetPublicKeyCertificateInput"}, 199 "output":{"shape":"GetPublicKeyCertificateOutput"}, 200 "errors":[ 201 {"shape":"ServiceUnavailableException"}, 202 {"shape":"ValidationException"}, 203 {"shape":"AccessDeniedException"}, 204 {"shape":"ResourceNotFoundException"}, 205 {"shape":"ThrottlingException"}, 206 {"shape":"InternalServerException"} 207 ], 208 "documentation":"<p>Gets the public key certificate of the asymmetric key pair that exists within Amazon Web Services Payment Cryptography.</p> <p>Unlike the private key of an asymmetric key, which never leaves Amazon Web Services Payment Cryptography unencrypted, callers with <code>GetPublicKeyCertificate</code> permission can download the public key certificate of the asymmetric key. You can share the public key certificate to allow others to encrypt messages and verify signatures outside of Amazon Web Services Payment Cryptography</p> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p>" 209 }, 210 "ImportKey":{ 211 "name":"ImportKey", 212 "http":{ 213 "method":"POST", 214 "requestUri":"/" 215 }, 216 "input":{"shape":"ImportKeyInput"}, 217 "output":{"shape":"ImportKeyOutput"}, 218 "errors":[ 219 {"shape":"ServiceQuotaExceededException"}, 220 {"shape":"ServiceUnavailableException"}, 221 {"shape":"ValidationException"}, 222 {"shape":"ConflictException"}, 223 {"shape":"AccessDeniedException"}, 224 {"shape":"ResourceNotFoundException"}, 225 {"shape":"ThrottlingException"}, 226 {"shape":"InternalServerException"} 227 ], 228 "documentation":"<p>Imports symmetric keys and public key certificates in PEM format (base64 encoded) into Amazon Web Services Payment Cryptography.</p> <p>Amazon Web Services Payment Cryptography simplifies key exchange by replacing the existing paper-based approach with a modern electronic approach. With <code>ImportKey</code> you can import symmetric keys using either symmetric and asymmetric key exchange mechanisms.</p> <p>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 and RSA wrap and unwrap key exchange mechanisms. 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.</p> <p>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. With RSA wrap and unwrap, you can exchange both 3DES and AES-128 keys. The keys are imported in a WrappedKeyCryptogram format and you will need to specify the key attributes during import. </p> <p>You can also import a <i>root public key certificate</i>, used to sign other public key certificates, or a <i>trusted public key certificate</i> under an already established root public key certificate.</p> <p> <b>To import a public root key certificate</b> </p> <p>You can also import a <i>root public key certificate</i>, used to sign other public key certificates, or a <i>trusted public key certificate</i> under an already established root public key certificate.</p> <p> <b>To import a public root key certificate</b> </p> <p>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.</p> <p>Set the following parameters:</p> <ul> <li> <p> <code>KeyMaterial</code>: <code>RootCertificatePublicKey</code> </p> </li> <li> <p> <code>KeyClass</code>: <code>PUBLIC_KEY</code> </p> </li> <li> <p> <code>KeyModesOfUse</code>: <code>Verify</code> </p> </li> <li> <p> <code>KeyUsage</code>: <code>TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE</code> </p> </li> <li> <p> <code>PublicKeyCertificate</code>: The public key certificate in PEM format (base64 encoded) of the private root key under import.</p> </li> </ul> <p> <b>To import a trusted public key certificate</b> </p> <p>The root public key certificate must be in place and operational before you import a trusted public key certificate. Set the following parameters:</p> <ul> <li> <p> <code>KeyMaterial</code>: <code>TrustedCertificatePublicKey</code> </p> </li> <li> <p> <code>CertificateAuthorityPublicKeyIdentifier</code>: <code>KeyArn</code> of the <code>RootCertificatePublicKey</code>.</p> </li> <li> <p> <code>KeyModesOfUse</code> and <code>KeyUsage</code>: Corresponding to the cryptographic operations such as wrap, sign, or encrypt that you will allow the trusted public key certificate to perform.</p> </li> <li> <p> <code>PublicKeyCertificate</code>: The trusted public key certificate in PEM format (base64 encoded) under import.</p> </li> </ul> <p> <b>To import initial keys (KEK or ZMK or similar) using TR-34</b> </p> <p>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.</p> <p>To initiate TR-34 key import, the KDH must obtain an import token by calling <a>GetParametersForImport</a>. 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.</p> <p>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 <code>ImportKey</code> for <code>RootCertificatePublicKey</code>. For more information on TR-34 key import, see section <a href=\"https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-import.html\">Importing symmetric keys</a> in the <i>Amazon Web Services Payment Cryptography User Guide</i>.</p> <p>Set the following parameters:</p> <ul> <li> <p> <code>KeyMaterial</code>: Use <code>Tr34KeyBlock</code> parameters.</p> </li> <li> <p> <code>CertificateAuthorityPublicKeyIdentifier</code>: The <code>KeyARN</code> of the certificate chain that signed the KDH signing key certificate.</p> </li> <li> <p> <code>ImportToken</code>: Obtained from KRD by calling <a>GetParametersForImport</a>.</p> </li> <li> <p> <code>WrappedKeyBlock</code>: 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.</p> </li> <li> <p> <code>SigningKeyCertificate</code>: 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.</p> </li> </ul> <p> <b>To import initial keys (KEK or ZMK or similar) using RSA Wrap and Unwrap</b> </p> <p>Using this operation, you can import initial key using asymmetric RSA wrap and unwrap key exchange method. To initiate import, call <a>GetParametersForImport</a> with <code>KeyMaterial</code> set to <code>KEY_CRYPTOGRAM</code> to generate an import token. This operation also generates an encryption keypair for the purpose of key import, signs the key and returns back the wrapping key certificate in PEM format (base64 encoded) and its root certificate chain. The import token and associated KRD wrapping certificate expires after 7 days. </p> <p>You must trust and install the wrapping certificate and its certificate chain on the sending HSM and use it to wrap the key under export for WrappedKeyCryptogram generation. Next call <code>ImportKey</code> with <code>KeyMaterial</code> set to <code>KEY_CRYPTOGRAM</code> and provide the <code>ImportToken</code> and <code>KeyAttributes</code> for the key under import.</p> <p> <b>To import working keys using TR-31</b> </p> <p>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 <a>CreateKey</a>. To initiate a TR-31 key import, set the following parameters:</p> <ul> <li> <p> <code>KeyMaterial</code>: Use <code>Tr31KeyBlock</code> parameters.</p> </li> <li> <p> <code>WrappedKeyBlock</code>: 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. </p> </li> <li> <p> <code>WrappingKeyIdentifier</code>: The <code>KeyArn</code> of the KEK that Amazon Web Services Payment Cryptography uses to decrypt or unwrap the key under import.</p> </li> </ul> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a>ExportKey</a> </p> </li> <li> <p> <a>GetParametersForImport</a> </p> </li> </ul>" 229 }, 230 "ListAliases":{ 231 "name":"ListAliases", 232 "http":{ 233 "method":"POST", 234 "requestUri":"/" 235 }, 236 "input":{"shape":"ListAliasesInput"}, 237 "output":{"shape":"ListAliasesOutput"}, 238 "errors":[ 239 {"shape":"ServiceUnavailableException"}, 240 {"shape":"ValidationException"}, 241 {"shape":"AccessDeniedException"}, 242 {"shape":"ResourceNotFoundException"}, 243 {"shape":"ThrottlingException"}, 244 {"shape":"InternalServerException"} 245 ], 246 "documentation":"<p>Lists the aliases for all keys in the caller's Amazon Web Services account and Amazon Web Services Region. You can filter the list of aliases. For more information, see <a href=\"https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-managealias.html\">Using aliases</a> in the <i>Amazon Web Services Payment Cryptography User Guide</i>.</p> <p>This is a paginated operation, which means that each response might contain only a subset of all the aliases. When the response contains only a subset of aliases, it includes a <code>NextToken</code> value. Use this value in a subsequent <code>ListAliases</code> request to get more aliases. When you receive a response with no NextToken (or an empty or null value), that means there are no more aliases to get.</p> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a>CreateAlias</a> </p> </li> <li> <p> <a>DeleteAlias</a> </p> </li> <li> <p> <a>GetAlias</a> </p> </li> <li> <p> <a>UpdateAlias</a> </p> </li> </ul>" 247 }, 248 "ListKeys":{ 249 "name":"ListKeys", 250 "http":{ 251 "method":"POST", 252 "requestUri":"/" 253 }, 254 "input":{"shape":"ListKeysInput"}, 255 "output":{"shape":"ListKeysOutput"}, 256 "errors":[ 257 {"shape":"ServiceUnavailableException"}, 258 {"shape":"ValidationException"}, 259 {"shape":"AccessDeniedException"}, 260 {"shape":"ResourceNotFoundException"}, 261 {"shape":"ThrottlingException"}, 262 {"shape":"InternalServerException"} 263 ], 264 "documentation":"<p>Lists the keys in the caller's Amazon Web Services account and Amazon Web Services Region. You can filter the list of keys.</p> <p>This is a paginated operation, which means that each response might contain only a subset of all the keys. When the response contains only a subset of keys, it includes a <code>NextToken</code> value. Use this value in a subsequent <code>ListKeys</code> request to get more keys. When you receive a response with no NextToken (or an empty or null value), that means there are no more keys to get.</p> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a>CreateKey</a> </p> </li> <li> <p> <a>DeleteKey</a> </p> </li> <li> <p> <a>GetKey</a> </p> </li> </ul>" 265 }, 266 "ListTagsForResource":{ 267 "name":"ListTagsForResource", 268 "http":{ 269 "method":"POST", 270 "requestUri":"/" 271 }, 272 "input":{"shape":"ListTagsForResourceInput"}, 273 "output":{"shape":"ListTagsForResourceOutput"}, 274 "errors":[ 275 {"shape":"ServiceUnavailableException"}, 276 {"shape":"ValidationException"}, 277 {"shape":"AccessDeniedException"}, 278 {"shape":"ResourceNotFoundException"}, 279 {"shape":"ThrottlingException"}, 280 {"shape":"InternalServerException"} 281 ], 282 "documentation":"<p>Lists the tags for an Amazon Web Services resource.</p> <p>This is a paginated operation, which means that each response might contain only a subset of all the tags. When the response contains only a subset of tags, it includes a <code>NextToken</code> value. Use this value in a subsequent <code>ListTagsForResource</code> request to get more tags. When you receive a response with no NextToken (or an empty or null value), that means there are no more tags to get.</p> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a>TagResource</a> </p> </li> <li> <p> <a>UntagResource</a> </p> </li> </ul>" 283 }, 284 "RestoreKey":{ 285 "name":"RestoreKey", 286 "http":{ 287 "method":"POST", 288 "requestUri":"/" 289 }, 290 "input":{"shape":"RestoreKeyInput"}, 291 "output":{"shape":"RestoreKeyOutput"}, 292 "errors":[ 293 {"shape":"ServiceQuotaExceededException"}, 294 {"shape":"ServiceUnavailableException"}, 295 {"shape":"ValidationException"}, 296 {"shape":"ConflictException"}, 297 {"shape":"AccessDeniedException"}, 298 {"shape":"ResourceNotFoundException"}, 299 {"shape":"ThrottlingException"}, 300 {"shape":"InternalServerException"} 301 ], 302 "documentation":"<p>Cancels a scheduled key deletion during the waiting period. Use this operation to restore a <code>Key</code> that is scheduled for deletion.</p> <p>During the waiting period, the <code>KeyState</code> is <code>DELETE_PENDING</code> and <code>deletePendingTimestamp</code> contains the date and time after which the <code>Key</code> will be deleted. After <code>Key</code> is restored, the <code>KeyState</code> is <code>CREATE_COMPLETE</code>, and the value for <code>deletePendingTimestamp</code> is removed.</p> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a>DeleteKey</a> </p> </li> <li> <p> <a>StartKeyUsage</a> </p> </li> <li> <p> <a>StopKeyUsage</a> </p> </li> </ul>" 303 }, 304 "StartKeyUsage":{ 305 "name":"StartKeyUsage", 306 "http":{ 307 "method":"POST", 308 "requestUri":"/" 309 }, 310 "input":{"shape":"StartKeyUsageInput"}, 311 "output":{"shape":"StartKeyUsageOutput"}, 312 "errors":[ 313 {"shape":"ServiceQuotaExceededException"}, 314 {"shape":"ServiceUnavailableException"}, 315 {"shape":"ValidationException"}, 316 {"shape":"ConflictException"}, 317 {"shape":"AccessDeniedException"}, 318 {"shape":"ResourceNotFoundException"}, 319 {"shape":"ThrottlingException"}, 320 {"shape":"InternalServerException"} 321 ], 322 "documentation":"<p>Enables an Amazon Web Services Payment Cryptography key, which makes it active for cryptographic operations within Amazon Web Services Payment Cryptography</p> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a>StopKeyUsage</a> </p> </li> </ul>" 323 }, 324 "StopKeyUsage":{ 325 "name":"StopKeyUsage", 326 "http":{ 327 "method":"POST", 328 "requestUri":"/" 329 }, 330 "input":{"shape":"StopKeyUsageInput"}, 331 "output":{"shape":"StopKeyUsageOutput"}, 332 "errors":[ 333 {"shape":"ServiceQuotaExceededException"}, 334 {"shape":"ServiceUnavailableException"}, 335 {"shape":"ValidationException"}, 336 {"shape":"ConflictException"}, 337 {"shape":"AccessDeniedException"}, 338 {"shape":"ResourceNotFoundException"}, 339 {"shape":"ThrottlingException"}, 340 {"shape":"InternalServerException"} 341 ], 342 "documentation":"<p>Disables an Amazon Web Services Payment Cryptography key, which makes it inactive within Amazon Web Services Payment Cryptography.</p> <p>You can use this operation instead of <a>DeleteKey</a> to deactivate a key. You can enable the key in the future by calling <a>StartKeyUsage</a>.</p> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a>DeleteKey</a> </p> </li> <li> <p> <a>StartKeyUsage</a> </p> </li> </ul>" 343 }, 344 "TagResource":{ 345 "name":"TagResource", 346 "http":{ 347 "method":"POST", 348 "requestUri":"/" 349 }, 350 "input":{"shape":"TagResourceInput"}, 351 "output":{"shape":"TagResourceOutput"}, 352 "errors":[ 353 {"shape":"ServiceQuotaExceededException"}, 354 {"shape":"ServiceUnavailableException"}, 355 {"shape":"ValidationException"}, 356 {"shape":"ConflictException"}, 357 {"shape":"AccessDeniedException"}, 358 {"shape":"ResourceNotFoundException"}, 359 {"shape":"ThrottlingException"}, 360 {"shape":"InternalServerException"} 361 ], 362 "documentation":"<p>Adds or edits tags on an Amazon Web Services Payment Cryptography key.</p> <note> <p>Tagging or untagging an Amazon Web Services Payment Cryptography key can allow or deny permission to the key.</p> </note> <p>Each tag consists of a tag key and a tag value, both of which are case-sensitive strings. The tag value can be an empty (null) string. To add a tag, specify a new tag key and a tag value. To edit a tag, specify an existing tag key and a new tag value. You can also add tags to an Amazon Web Services Payment Cryptography key when you create it with <a>CreateKey</a>.</p> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a>ListTagsForResource</a> </p> </li> <li> <p> <a>UntagResource</a> </p> </li> </ul>" 363 }, 364 "UntagResource":{ 365 "name":"UntagResource", 366 "http":{ 367 "method":"POST", 368 "requestUri":"/" 369 }, 370 "input":{"shape":"UntagResourceInput"}, 371 "output":{"shape":"UntagResourceOutput"}, 372 "errors":[ 373 {"shape":"ServiceUnavailableException"}, 374 {"shape":"ValidationException"}, 375 {"shape":"ConflictException"}, 376 {"shape":"AccessDeniedException"}, 377 {"shape":"ResourceNotFoundException"}, 378 {"shape":"ThrottlingException"}, 379 {"shape":"InternalServerException"} 380 ], 381 "documentation":"<p>Deletes a tag from an Amazon Web Services Payment Cryptography key.</p> <note> <p>Tagging or untagging an Amazon Web Services Payment Cryptography key can allow or deny permission to the key.</p> </note> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a>ListTagsForResource</a> </p> </li> <li> <p> <a>TagResource</a> </p> </li> </ul>" 382 }, 383 "UpdateAlias":{ 384 "name":"UpdateAlias", 385 "http":{ 386 "method":"POST", 387 "requestUri":"/" 388 }, 389 "input":{"shape":"UpdateAliasInput"}, 390 "output":{"shape":"UpdateAliasOutput"}, 391 "errors":[ 392 {"shape":"ServiceUnavailableException"}, 393 {"shape":"ValidationException"}, 394 {"shape":"ConflictException"}, 395 {"shape":"AccessDeniedException"}, 396 {"shape":"ResourceNotFoundException"}, 397 {"shape":"ThrottlingException"}, 398 {"shape":"InternalServerException"} 399 ], 400 "documentation":"<p>Associates an existing Amazon Web Services Payment Cryptography alias with a different key. Each alias is associated with only one Amazon Web Services Payment Cryptography key at a time, although a key can have multiple aliases. The alias and the Amazon Web Services Payment Cryptography key must be in the same Amazon Web Services account and Amazon Web Services Region</p> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a>CreateAlias</a> </p> </li> <li> <p> <a>DeleteAlias</a> </p> </li> <li> <p> <a>GetAlias</a> </p> </li> <li> <p> <a>ListAliases</a> </p> </li> </ul>" 401 } 402 }, 403 "shapes":{ 404 "AccessDeniedException":{ 405 "type":"structure", 406 "members":{ 407 "Message":{"shape":"String"} 408 }, 409 "documentation":"<p>You do not have sufficient access to perform this action.</p>", 410 "exception":true 411 }, 412 "Alias":{ 413 "type":"structure", 414 "required":["AliasName"], 415 "members":{ 416 "AliasName":{ 417 "shape":"AliasName", 418 "documentation":"<p>A friendly name that you can use to refer to a key. The value must begin with <code>alias/</code>.</p> <important> <p>Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.</p> </important>" 419 }, 420 "KeyArn":{ 421 "shape":"KeyArn", 422 "documentation":"<p>The <code>KeyARN</code> of the key associated with the alias.</p>" 423 } 424 }, 425 "documentation":"<p>Contains information about an alias.</p>" 426 }, 427 "AliasName":{ 428 "type":"string", 429 "max":256, 430 "min":7, 431 "pattern":"^alias/[a-zA-Z0-9/_-]+$" 432 }, 433 "Aliases":{ 434 "type":"list", 435 "member":{"shape":"Alias"} 436 }, 437 "Boolean":{ 438 "type":"boolean", 439 "box":true 440 }, 441 "CertificateType":{ 442 "type":"string", 443 "max":32768, 444 "min":1, 445 "pattern":"^[^\\[;\\]<>]+$", 446 "sensitive":true 447 }, 448 "ConflictException":{ 449 "type":"structure", 450 "members":{ 451 "Message":{"shape":"String"} 452 }, 453 "documentation":"<p>This request can cause an inconsistent state for the resource.</p>", 454 "exception":true 455 }, 456 "CreateAliasInput":{ 457 "type":"structure", 458 "required":["AliasName"], 459 "members":{ 460 "AliasName":{ 461 "shape":"AliasName", 462 "documentation":"<p>A friendly name that you can use to refer to a key. An alias must begin with <code>alias/</code> followed by a name, for example <code>alias/ExampleAlias</code>. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-).</p> <important> <p>Don't include personal, confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.</p> </important>" 463 }, 464 "KeyArn":{ 465 "shape":"KeyArn", 466 "documentation":"<p>The <code>KeyARN</code> of the key to associate with the alias.</p>" 467 } 468 } 469 }, 470 "CreateAliasOutput":{ 471 "type":"structure", 472 "required":["Alias"], 473 "members":{ 474 "Alias":{ 475 "shape":"Alias", 476 "documentation":"<p>The alias for the key.</p>" 477 } 478 } 479 }, 480 "CreateKeyInput":{ 481 "type":"structure", 482 "required":[ 483 "Exportable", 484 "KeyAttributes" 485 ], 486 "members":{ 487 "Enabled":{ 488 "shape":"Boolean", 489 "documentation":"<p>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.</p>" 490 }, 491 "Exportable":{ 492 "shape":"Boolean", 493 "documentation":"<p>Specifies whether the key is exportable from the service.</p>" 494 }, 495 "KeyAttributes":{ 496 "shape":"KeyAttributes", 497 "documentation":"<p>The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.</p>" 498 }, 499 "KeyCheckValueAlgorithm":{ 500 "shape":"KeyCheckValueAlgorithm", 501 "documentation":"<p>The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.</p> <p>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.</p>" 502 }, 503 "Tags":{ 504 "shape":"Tags", 505 "documentation":"<p>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 <a>TagResource</a> operation.</p> <p>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. </p> <important> <p>Don't include personal, confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.</p> </important> <note> <p>Tagging or untagging an Amazon Web Services Payment Cryptography key can allow or deny permission to the key.</p> </note>" 506 } 507 } 508 }, 509 "CreateKeyOutput":{ 510 "type":"structure", 511 "required":["Key"], 512 "members":{ 513 "Key":{ 514 "shape":"Key", 515 "documentation":"<p>The key material that contains all the key attributes.</p>" 516 } 517 } 518 }, 519 "DeleteAliasInput":{ 520 "type":"structure", 521 "required":["AliasName"], 522 "members":{ 523 "AliasName":{ 524 "shape":"AliasName", 525 "documentation":"<p>A friendly name that you can use to refer Amazon Web Services Payment Cryptography key. This value must begin with <code>alias/</code> followed by a name, such as <code>alias/ExampleAlias</code>.</p>" 526 } 527 } 528 }, 529 "DeleteAliasOutput":{ 530 "type":"structure", 531 "members":{ 532 } 533 }, 534 "DeleteKeyInput":{ 535 "type":"structure", 536 "required":["KeyIdentifier"], 537 "members":{ 538 "DeleteKeyInDays":{ 539 "shape":"DeleteKeyInputDeleteKeyInDaysInteger", 540 "documentation":"<p>The waiting period for key deletion. The default value is seven days.</p>" 541 }, 542 "KeyIdentifier":{ 543 "shape":"KeyArnOrKeyAliasType", 544 "documentation":"<p>The <code>KeyARN</code> of the key that is scheduled for deletion.</p>" 545 } 546 } 547 }, 548 "DeleteKeyInputDeleteKeyInDaysInteger":{ 549 "type":"integer", 550 "box":true, 551 "max":180, 552 "min":3 553 }, 554 "DeleteKeyOutput":{ 555 "type":"structure", 556 "required":["Key"], 557 "members":{ 558 "Key":{ 559 "shape":"Key", 560 "documentation":"<p>The <code>KeyARN</code> of the key that is scheduled for deletion.</p>" 561 } 562 } 563 }, 564 "ExportAttributes":{ 565 "type":"structure", 566 "members":{ 567 "ExportDukptInitialKey":{ 568 "shape":"ExportDukptInitialKey", 569 "documentation":"<p>Parameter information for IPEK export.</p>" 570 }, 571 "KeyCheckValueAlgorithm":{ 572 "shape":"KeyCheckValueAlgorithm", 573 "documentation":"<p>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.</p> <p>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.</p>" 574 } 575 }, 576 "documentation":"<p>The attributes for IPEK generation during export.</p>" 577 }, 578 "ExportDukptInitialKey":{ 579 "type":"structure", 580 "required":["KeySerialNumber"], 581 "members":{ 582 "KeySerialNumber":{ 583 "shape":"HexLength20Or24", 584 "documentation":"<p>The KSN for IPEK generation using DUKPT. </p> <p>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.</p>" 585 } 586 }, 587 "documentation":"<p>Parameter information for IPEK generation during export.</p>" 588 }, 589 "ExportKeyCryptogram":{ 590 "type":"structure", 591 "required":[ 592 "CertificateAuthorityPublicKeyIdentifier", 593 "WrappingKeyCertificate" 594 ], 595 "members":{ 596 "CertificateAuthorityPublicKeyIdentifier":{ 597 "shape":"KeyArnOrKeyAliasType", 598 "documentation":"<p>The <code>KeyARN</code> of the certificate chain that signs the wrapping key certificate during RSA wrap and unwrap key export.</p>" 599 }, 600 "WrappingKeyCertificate":{ 601 "shape":"CertificateType", 602 "documentation":"<p>The wrapping key certificate in PEM format (base64 encoded). Amazon Web Services Payment Cryptography uses this certificate to wrap the key under export.</p>" 603 }, 604 "WrappingSpec":{ 605 "shape":"WrappingKeySpec", 606 "documentation":"<p>The wrapping spec for the key under export.</p>" 607 } 608 }, 609 "documentation":"<p>Parameter information for key material export using asymmetric RSA wrap and unwrap key exchange method.</p>" 610 }, 611 "ExportKeyInput":{ 612 "type":"structure", 613 "required":[ 614 "ExportKeyIdentifier", 615 "KeyMaterial" 616 ], 617 "members":{ 618 "ExportAttributes":{ 619 "shape":"ExportAttributes", 620 "documentation":"<p>The attributes for IPEK generation during export.</p>" 621 }, 622 "ExportKeyIdentifier":{ 623 "shape":"KeyArnOrKeyAliasType", 624 "documentation":"<p>The <code>KeyARN</code> of the key under export from Amazon Web Services Payment Cryptography.</p>" 625 }, 626 "KeyMaterial":{ 627 "shape":"ExportKeyMaterial", 628 "documentation":"<p>The key block format type, for example, TR-34 or TR-31, to use during key material export.</p>" 629 } 630 } 631 }, 632 "ExportKeyMaterial":{ 633 "type":"structure", 634 "members":{ 635 "KeyCryptogram":{ 636 "shape":"ExportKeyCryptogram", 637 "documentation":"<p>Parameter information for key material export using asymmetric RSA wrap and unwrap key exchange method</p>" 638 }, 639 "Tr31KeyBlock":{ 640 "shape":"ExportTr31KeyBlock", 641 "documentation":"<p>Parameter information for key material export using symmetric TR-31 key exchange method.</p>" 642 }, 643 "Tr34KeyBlock":{ 644 "shape":"ExportTr34KeyBlock", 645 "documentation":"<p>Parameter information for key material export using the asymmetric TR-34 key exchange method.</p>" 646 } 647 }, 648 "documentation":"<p>Parameter information for key material export from Amazon Web Services Payment Cryptography using TR-31 or TR-34 or RSA wrap and unwrap key exchange method.</p>", 649 "union":true 650 }, 651 "ExportKeyOutput":{ 652 "type":"structure", 653 "members":{ 654 "WrappedKey":{ 655 "shape":"WrappedKey", 656 "documentation":"<p>The key material under export as a TR-34 WrappedKeyBlock or a TR-31 WrappedKeyBlock. or a RSA WrappedKeyCryptogram.</p>" 657 } 658 } 659 }, 660 "ExportTokenId":{ 661 "type":"string", 662 "pattern":"^export-token-[0-9a-zA-Z]{16,64}$" 663 }, 664 "ExportTr31KeyBlock":{ 665 "type":"structure", 666 "required":["WrappingKeyIdentifier"], 667 "members":{ 668 "WrappingKeyIdentifier":{ 669 "shape":"KeyArnOrKeyAliasType", 670 "documentation":"<p>The <code>KeyARN</code> of the the wrapping key. This key encrypts or wraps the key under export for TR-31 key block generation.</p>" 671 } 672 }, 673 "documentation":"<p>Parameter information for key material export using symmetric TR-31 key exchange method.</p>" 674 }, 675 "ExportTr34KeyBlock":{ 676 "type":"structure", 677 "required":[ 678 "CertificateAuthorityPublicKeyIdentifier", 679 "ExportToken", 680 "KeyBlockFormat", 681 "WrappingKeyCertificate" 682 ], 683 "members":{ 684 "CertificateAuthorityPublicKeyIdentifier":{ 685 "shape":"KeyArnOrKeyAliasType", 686 "documentation":"<p>The <code>KeyARN</code> of the certificate chain that signs the wrapping key certificate during TR-34 key export.</p>" 687 }, 688 "ExportToken":{ 689 "shape":"ExportTokenId", 690 "documentation":"<p>The export token to initiate key export from Amazon Web Services Payment Cryptography. It also contains the signing key certificate that will sign the wrapped key during TR-34 key block generation. Call <a>GetParametersForExport</a> to receive an export token. It expires after 7 days. You can use the same export token to export multiple keys from the same service account.</p>" 691 }, 692 "KeyBlockFormat":{ 693 "shape":"Tr34KeyBlockFormat", 694 "documentation":"<p>The format of key block that Amazon Web Services Payment Cryptography will use during key export.</p>" 695 }, 696 "RandomNonce":{ 697 "shape":"HexLength16", 698 "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>" 699 }, 700 "WrappingKeyCertificate":{ 701 "shape":"CertificateType", 702 "documentation":"<p>The <code>KeyARN</code> of the wrapping key certificate. Amazon Web Services Payment Cryptography uses this certificate to wrap the key under export.</p>" 703 } 704 }, 705 "documentation":"<p>Parameter information for key material export using the asymmetric TR-34 key exchange method.</p>" 706 }, 707 "GetAliasInput":{ 708 "type":"structure", 709 "required":["AliasName"], 710 "members":{ 711 "AliasName":{ 712 "shape":"AliasName", 713 "documentation":"<p>The alias of the Amazon Web Services Payment Cryptography key.</p>" 714 } 715 } 716 }, 717 "GetAliasOutput":{ 718 "type":"structure", 719 "required":["Alias"], 720 "members":{ 721 "Alias":{ 722 "shape":"Alias", 723 "documentation":"<p>The alias of the Amazon Web Services Payment Cryptography key.</p>" 724 } 725 } 726 }, 727 "GetKeyInput":{ 728 "type":"structure", 729 "required":["KeyIdentifier"], 730 "members":{ 731 "KeyIdentifier":{ 732 "shape":"KeyArnOrKeyAliasType", 733 "documentation":"<p>The <code>KeyARN</code> of the Amazon Web Services Payment Cryptography key.</p>" 734 } 735 } 736 }, 737 "GetKeyOutput":{ 738 "type":"structure", 739 "required":["Key"], 740 "members":{ 741 "Key":{ 742 "shape":"Key", 743 "documentation":"<p>The key material, including the immutable and mutable data for the key.</p>" 744 } 745 } 746 }, 747 "GetParametersForExportInput":{ 748 "type":"structure", 749 "required":[ 750 "KeyMaterialType", 751 "SigningKeyAlgorithm" 752 ], 753 "members":{ 754 "KeyMaterialType":{ 755 "shape":"KeyMaterialType", 756 "documentation":"<p>The key block format type (for example, TR-34 or TR-31) to use during key material export. Export token is only required for a TR-34 key export, <code>TR34_KEY_BLOCK</code>. Export token is not required for TR-31 key export.</p>" 757 }, 758 "SigningKeyAlgorithm":{ 759 "shape":"KeyAlgorithm", 760 "documentation":"<p>The signing key algorithm to generate a signing key certificate. This certificate signs the wrapped key under export within the TR-34 key block. <code>RSA_2048</code> is the only signing key algorithm allowed.</p>" 761 } 762 } 763 }, 764 "GetParametersForExportOutput":{ 765 "type":"structure", 766 "required":[ 767 "ExportToken", 768 "ParametersValidUntilTimestamp", 769 "SigningKeyAlgorithm", 770 "SigningKeyCertificate", 771 "SigningKeyCertificateChain" 772 ], 773 "members":{ 774 "ExportToken":{ 775 "shape":"ExportTokenId", 776 "documentation":"<p>The export token to initiate key export from Amazon Web Services Payment Cryptography. The export token expires after 7 days. You can use the same export token to export multiple keys from the same service account.</p>" 777 }, 778 "ParametersValidUntilTimestamp":{ 779 "shape":"Timestamp", 780 "documentation":"<p>The validity period of the export token.</p>" 781 }, 782 "SigningKeyAlgorithm":{ 783 "shape":"KeyAlgorithm", 784 "documentation":"<p>The algorithm of the signing key certificate for use in TR-34 key block generation. <code>RSA_2048</code> is the only signing key algorithm allowed.</p>" 785 }, 786 "SigningKeyCertificate":{ 787 "shape":"CertificateType", 788 "documentation":"<p>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.</p>" 789 }, 790 "SigningKeyCertificateChain":{ 791 "shape":"CertificateType", 792 "documentation":"<p>The root certificate authority (CA) that signed the signing key certificate in PEM format (base64 encoded).</p>" 793 } 794 } 795 }, 796 "GetParametersForImportInput":{ 797 "type":"structure", 798 "required":[ 799 "KeyMaterialType", 800 "WrappingKeyAlgorithm" 801 ], 802 "members":{ 803 "KeyMaterialType":{ 804 "shape":"KeyMaterialType", 805 "documentation":"<p>The method to use for key material import. Import token is only required for TR-34 WrappedKeyBlock (<code>TR34_KEY_BLOCK</code>) and RSA WrappedKeyCryptogram (<code>KEY_CRYPTOGRAM</code>).</p> <p>Import token is not required for TR-31, root public key cerificate or trusted public key certificate.</p>" 806 }, 807 "WrappingKeyAlgorithm":{ 808 "shape":"KeyAlgorithm", 809 "documentation":"<p>The wrapping key algorithm to generate a wrapping key certificate. This certificate wraps the key under import.</p> <p>At this time, <code>RSA_2048</code> is the allowed algorithm for TR-34 WrappedKeyBlock import. Additionally, <code>RSA_2048</code>, <code>RSA_3072</code>, <code>RSA_4096</code> are the allowed algorithms for RSA WrappedKeyCryptogram import.</p>" 810 } 811 } 812 }, 813 "GetParametersForImportOutput":{ 814 "type":"structure", 815 "required":[ 816 "ImportToken", 817 "ParametersValidUntilTimestamp", 818 "WrappingKeyAlgorithm", 819 "WrappingKeyCertificate", 820 "WrappingKeyCertificateChain" 821 ], 822 "members":{ 823 "ImportToken":{ 824 "shape":"ImportTokenId", 825 "documentation":"<p>The import token to initiate key import into Amazon Web Services Payment Cryptography. The import token expires after 7 days. You can use the same import token to import multiple keys to the same service account.</p>" 826 }, 827 "ParametersValidUntilTimestamp":{ 828 "shape":"Timestamp", 829 "documentation":"<p>The validity period of the import token.</p>" 830 }, 831 "WrappingKeyAlgorithm":{ 832 "shape":"KeyAlgorithm", 833 "documentation":"<p>The algorithm of the wrapping key for use within TR-34 WrappedKeyBlock or RSA WrappedKeyCryptogram.</p>" 834 }, 835 "WrappingKeyCertificate":{ 836 "shape":"CertificateType", 837 "documentation":"<p>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.</p>" 838 }, 839 "WrappingKeyCertificateChain":{ 840 "shape":"CertificateType", 841 "documentation":"<p>The Amazon Web Services Payment Cryptography root certificate authority (CA) that signed the wrapping key certificate in PEM format (base64 encoded).</p>" 842 } 843 } 844 }, 845 "GetPublicKeyCertificateInput":{ 846 "type":"structure", 847 "required":["KeyIdentifier"], 848 "members":{ 849 "KeyIdentifier":{ 850 "shape":"KeyArnOrKeyAliasType", 851 "documentation":"<p>The <code>KeyARN</code> of the asymmetric key pair.</p>" 852 } 853 } 854 }, 855 "GetPublicKeyCertificateOutput":{ 856 "type":"structure", 857 "required":[ 858 "KeyCertificate", 859 "KeyCertificateChain" 860 ], 861 "members":{ 862 "KeyCertificate":{ 863 "shape":"CertificateType", 864 "documentation":"<p>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.</p>" 865 }, 866 "KeyCertificateChain":{ 867 "shape":"CertificateType", 868 "documentation":"<p>The root certificate authority (CA) that signed the public key certificate in PEM format (base64 encoded) of the asymmetric key pair.</p>" 869 } 870 } 871 }, 872 "HexLength16":{ 873 "type":"string", 874 "max":16, 875 "min":16, 876 "pattern":"^[0-9A-F]+$" 877 }, 878 "HexLength20Or24":{ 879 "type":"string", 880 "max":24, 881 "min":20, 882 "pattern":"^[0-9A-F]{20}$|^[0-9A-F]{24}$" 883 }, 884 "ImportKeyCryptogram":{ 885 "type":"structure", 886 "required":[ 887 "Exportable", 888 "ImportToken", 889 "KeyAttributes", 890 "WrappedKeyCryptogram" 891 ], 892 "members":{ 893 "Exportable":{ 894 "shape":"Boolean", 895 "documentation":"<p>Specifies whether the key is exportable from the service.</p>" 896 }, 897 "ImportToken":{ 898 "shape":"ImportTokenId", 899 "documentation":"<p>The import token that initiates key import using the asymmetric RSA wrap and unwrap key exchange method into AWS Payment Cryptography. It expires after 7 days. You can use the same import token to import multiple keys to the same service account.</p>" 900 }, 901 "KeyAttributes":{"shape":"KeyAttributes"}, 902 "WrappedKeyCryptogram":{ 903 "shape":"WrappedKeyCryptogram", 904 "documentation":"<p>The RSA wrapped key cryptogram under import.</p>" 905 }, 906 "WrappingSpec":{ 907 "shape":"WrappingKeySpec", 908 "documentation":"<p>The wrapping spec for the wrapped key cryptogram.</p>" 909 } 910 }, 911 "documentation":"<p>Parameter information for key material import using asymmetric RSA wrap and unwrap key exchange method.</p>" 912 }, 913 "ImportKeyInput":{ 914 "type":"structure", 915 "required":["KeyMaterial"], 916 "members":{ 917 "Enabled":{ 918 "shape":"Boolean", 919 "documentation":"<p>Specifies whether import key is enabled.</p>" 920 }, 921 "KeyCheckValueAlgorithm":{ 922 "shape":"KeyCheckValueAlgorithm", 923 "documentation":"<p>The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.</p> <p>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.</p>" 924 }, 925 "KeyMaterial":{ 926 "shape":"ImportKeyMaterial", 927 "documentation":"<p>The key or public key certificate type to use during key material import, for example TR-34 or RootCertificatePublicKey.</p>" 928 }, 929 "Tags":{ 930 "shape":"Tags", 931 "documentation":"<p>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 <a>TagResource</a> operation.</p> <p>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.</p> <important> <p>Don't include personal, confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.</p> </important> <note> <p>Tagging or untagging an Amazon Web Services Payment Cryptography key can allow or deny permission to the key.</p> </note>" 932 } 933 } 934 }, 935 "ImportKeyMaterial":{ 936 "type":"structure", 937 "members":{ 938 "KeyCryptogram":{ 939 "shape":"ImportKeyCryptogram", 940 "documentation":"<p>Parameter information for key material import using asymmetric RSA wrap and unwrap key exchange method.</p>" 941 }, 942 "RootCertificatePublicKey":{ 943 "shape":"RootCertificatePublicKey", 944 "documentation":"<p>Parameter information for root public key certificate import.</p>" 945 }, 946 "Tr31KeyBlock":{ 947 "shape":"ImportTr31KeyBlock", 948 "documentation":"<p>Parameter information for key material import using symmetric TR-31 key exchange method.</p>" 949 }, 950 "Tr34KeyBlock":{ 951 "shape":"ImportTr34KeyBlock", 952 "documentation":"<p>Parameter information for key material import using the asymmetric TR-34 key exchange method.</p>" 953 }, 954 "TrustedCertificatePublicKey":{ 955 "shape":"TrustedCertificatePublicKey", 956 "documentation":"<p>Parameter information for trusted public key certificate import.</p>" 957 } 958 }, 959 "documentation":"<p>Parameter information for key material import into Amazon Web Services Payment Cryptography using TR-31 or TR-34 or RSA wrap and unwrap key exchange method.</p>", 960 "union":true 961 }, 962 "ImportKeyOutput":{ 963 "type":"structure", 964 "required":["Key"], 965 "members":{ 966 "Key":{ 967 "shape":"Key", 968 "documentation":"<p>The <code>KeyARN</code> of the key material imported within Amazon Web Services Payment Cryptography.</p>" 969 } 970 } 971 }, 972 "ImportTokenId":{ 973 "type":"string", 974 "pattern":"^import-token-[0-9a-zA-Z]{16,64}$" 975 }, 976 "ImportTr31KeyBlock":{ 977 "type":"structure", 978 "required":[ 979 "WrappedKeyBlock", 980 "WrappingKeyIdentifier" 981 ], 982 "members":{ 983 "WrappedKeyBlock":{ 984 "shape":"Tr31WrappedKeyBlock", 985 "documentation":"<p>The TR-31 wrapped key block to import.</p>" 986 }, 987 "WrappingKeyIdentifier":{ 988 "shape":"KeyArnOrKeyAliasType", 989 "documentation":"<p>The <code>KeyARN</code> of the key that will decrypt or unwrap a TR-31 key block during import.</p>" 990 } 991 }, 992 "documentation":"<p>Parameter information for key material import using symmetric TR-31 key exchange method.</p>" 993 }, 994 "ImportTr34KeyBlock":{ 995 "type":"structure", 996 "required":[ 997 "CertificateAuthorityPublicKeyIdentifier", 998 "ImportToken", 999 "KeyBlockFormat", 1000 "SigningKeyCertificate", 1001 "WrappedKeyBlock" 1002 ], 1003 "members":{ 1004 "CertificateAuthorityPublicKeyIdentifier":{ 1005 "shape":"KeyArnOrKeyAliasType", 1006 "documentation":"<p>The <code>KeyARN</code> of the certificate chain that signs the signing key certificate during TR-34 key import.</p>" 1007 }, 1008 "ImportToken":{ 1009 "shape":"ImportTokenId", 1010 "documentation":"<p>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.</p>" 1011 }, 1012 "KeyBlockFormat":{ 1013 "shape":"Tr34KeyBlockFormat", 1014 "documentation":"<p>The key block format to use during key import. The only value allowed is <code>X9_TR34_2012</code>.</p>" 1015 }, 1016 "RandomNonce":{ 1017 "shape":"HexLength16", 1018 "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>" 1019 }, 1020 "SigningKeyCertificate":{ 1021 "shape":"CertificateType", 1022 "documentation":"<p>The public key component in PEM certificate format of the private key that signs the KDH TR-34 WrappedKeyBlock.</p>" 1023 }, 1024 "WrappedKeyBlock":{ 1025 "shape":"Tr34WrappedKeyBlock", 1026 "documentation":"<p>The TR-34 wrapped key block to import.</p>" 1027 } 1028 }, 1029 "documentation":"<p>Parameter information for key material import using the asymmetric TR-34 key exchange method.</p>" 1030 }, 1031 "InternalServerException":{ 1032 "type":"structure", 1033 "members":{ 1034 "Message":{"shape":"String"} 1035 }, 1036 "documentation":"<p>The request processing has failed because of an unknown error, exception, or failure.</p>", 1037 "exception":true, 1038 "fault":true 1039 }, 1040 "Key":{ 1041 "type":"structure", 1042 "required":[ 1043 "CreateTimestamp", 1044 "Enabled", 1045 "Exportable", 1046 "KeyArn", 1047 "KeyAttributes", 1048 "KeyCheckValue", 1049 "KeyCheckValueAlgorithm", 1050 "KeyOrigin", 1051 "KeyState" 1052 ], 1053 "members":{ 1054 "CreateTimestamp":{ 1055 "shape":"Timestamp", 1056 "documentation":"<p>The date and time when the key was created.</p>" 1057 }, 1058 "DeletePendingTimestamp":{ 1059 "shape":"Timestamp", 1060 "documentation":"<p>The date and time after which Amazon Web Services Payment Cryptography will delete the key. This value is present only when <code>KeyState</code> is <code>DELETE_PENDING</code> and the key is scheduled for deletion.</p>" 1061 }, 1062 "DeleteTimestamp":{ 1063 "shape":"Timestamp", 1064 "documentation":"<p>The date and time after which Amazon Web Services Payment Cryptography will delete the key. This value is present only when when the <code>KeyState</code> is <code>DELETE_COMPLETE</code> and the Amazon Web Services Payment Cryptography key is deleted.</p>" 1065 }, 1066 "Enabled":{ 1067 "shape":"Boolean", 1068 "documentation":"<p>Specifies whether the key is enabled. </p>" 1069 }, 1070 "Exportable":{ 1071 "shape":"Boolean", 1072 "documentation":"<p>Specifies whether the key is exportable. This data is immutable after the key is created.</p>" 1073 }, 1074 "KeyArn":{ 1075 "shape":"KeyArn", 1076 "documentation":"<p>The Amazon Resource Name (ARN) of the key.</p>" 1077 }, 1078 "KeyAttributes":{ 1079 "shape":"KeyAttributes", 1080 "documentation":"<p>The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.</p>" 1081 }, 1082 "KeyCheckValue":{ 1083 "shape":"KeyCheckValue", 1084 "documentation":"<p>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.</p>" 1085 }, 1086 "KeyCheckValueAlgorithm":{ 1087 "shape":"KeyCheckValueAlgorithm", 1088 "documentation":"<p>The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.</p> <p>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.</p>" 1089 }, 1090 "KeyOrigin":{ 1091 "shape":"KeyOrigin", 1092 "documentation":"<p>The source of the key material. For keys created within Amazon Web Services Payment Cryptography, the value is <code>AWS_PAYMENT_CRYPTOGRAPHY</code>. For keys imported into Amazon Web Services Payment Cryptography, the value is <code>EXTERNAL</code>.</p>" 1093 }, 1094 "KeyState":{ 1095 "shape":"KeyState", 1096 "documentation":"<p>The state of key that is being created or deleted.</p>" 1097 }, 1098 "UsageStartTimestamp":{ 1099 "shape":"Timestamp", 1100 "documentation":"<p>The date and time after which Amazon Web Services Payment Cryptography will start using the key material for cryptographic operations.</p>" 1101 }, 1102 "UsageStopTimestamp":{ 1103 "shape":"Timestamp", 1104 "documentation":"<p>The date and time after which Amazon Web Services Payment Cryptography will stop using the key material for cryptographic operations.</p>" 1105 } 1106 }, 1107 "documentation":"<p>Metadata about an Amazon Web Services Payment Cryptography key.</p>" 1108 }, 1109 "KeyAlgorithm":{ 1110 "type":"string", 1111 "enum":[ 1112 "TDES_2KEY", 1113 "TDES_3KEY", 1114 "AES_128", 1115 "AES_192", 1116 "AES_256", 1117 "RSA_2048", 1118 "RSA_3072", 1119 "RSA_4096" 1120 ] 1121 }, 1122 "KeyArn":{ 1123 "type":"string", 1124 "max":150, 1125 "min":70, 1126 "pattern":"^arn:aws:payment-cryptography:[a-z]{2}-[a-z]{1,16}-[0-9]+:[0-9]{12}:key/[0-9a-zA-Z]{16,64}$" 1127 }, 1128 "KeyArnOrKeyAliasType":{ 1129 "type":"string", 1130 "max":322, 1131 "min":7, 1132 "pattern":"^arn:aws:payment-cryptography:[a-z]{2}-[a-z]{1,16}-[0-9]+:[0-9]{12}:(key/[0-9a-zA-Z]{16,64}|alias/[a-zA-Z0-9/_-]+)$|^alias/[a-zA-Z0-9/_-]+$" 1133 }, 1134 "KeyAttributes":{ 1135 "type":"structure", 1136 "required":[ 1137 "KeyAlgorithm", 1138 "KeyClass", 1139 "KeyModesOfUse", 1140 "KeyUsage" 1141 ], 1142 "members":{ 1143 "KeyAlgorithm":{ 1144 "shape":"KeyAlgorithm", 1145 "documentation":"<p>The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.</p> <p>For symmetric keys, Amazon Web Services Payment Cryptography supports <code>AES</code> and <code>TDES</code> algorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supports <code>RSA</code> and <code>ECC_NIST</code> algorithms.</p>" 1146 }, 1147 "KeyClass":{ 1148 "shape":"KeyClass", 1149 "documentation":"<p>The type of Amazon Web Services Payment Cryptography key to create, which determines the classification of the cryptographic method and whether Amazon Web Services Payment Cryptography key contains a symmetric key or an asymmetric key pair.</p>" 1150 }, 1151 "KeyModesOfUse":{ 1152 "shape":"KeyModesOfUse", 1153 "documentation":"<p>The list of cryptographic operations that you can perform using the key.</p>" 1154 }, 1155 "KeyUsage":{ 1156 "shape":"KeyUsage", 1157 "documentation":"<p>The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.</p>" 1158 } 1159 }, 1160 "documentation":"<p>The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.</p>" 1161 }, 1162 "KeyCheckValue":{ 1163 "type":"string", 1164 "max":16, 1165 "min":4, 1166 "pattern":"^[0-9a-fA-F]+$" 1167 }, 1168 "KeyCheckValueAlgorithm":{ 1169 "type":"string", 1170 "enum":[ 1171 "CMAC", 1172 "ANSI_X9_24" 1173 ] 1174 }, 1175 "KeyClass":{ 1176 "type":"string", 1177 "enum":[ 1178 "SYMMETRIC_KEY", 1179 "ASYMMETRIC_KEY_PAIR", 1180 "PRIVATE_KEY", 1181 "PUBLIC_KEY" 1182 ] 1183 }, 1184 "KeyMaterial":{ 1185 "type":"string", 1186 "max":16384, 1187 "min":48, 1188 "sensitive":true 1189 }, 1190 "KeyMaterialType":{ 1191 "type":"string", 1192 "enum":[ 1193 "TR34_KEY_BLOCK", 1194 "TR31_KEY_BLOCK", 1195 "ROOT_PUBLIC_KEY_CERTIFICATE", 1196 "TRUSTED_PUBLIC_KEY_CERTIFICATE", 1197 "KEY_CRYPTOGRAM" 1198 ] 1199 }, 1200 "KeyModesOfUse":{ 1201 "type":"structure", 1202 "members":{ 1203 "Decrypt":{ 1204 "shape":"PrimitiveBoolean", 1205 "documentation":"<p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to decrypt data.</p>" 1206 }, 1207 "DeriveKey":{ 1208 "shape":"PrimitiveBoolean", 1209 "documentation":"<p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to derive new keys.</p>" 1210 }, 1211 "Encrypt":{ 1212 "shape":"PrimitiveBoolean", 1213 "documentation":"<p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to encrypt data.</p>" 1214 }, 1215 "Generate":{ 1216 "shape":"PrimitiveBoolean", 1217 "documentation":"<p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to generate and verify other card and PIN verification keys.</p>" 1218 }, 1219 "NoRestrictions":{ 1220 "shape":"PrimitiveBoolean", 1221 "documentation":"<p>Specifies whether an Amazon Web Services Payment Cryptography key has no special restrictions other than the restrictions implied by <code>KeyUsage</code>.</p>" 1222 }, 1223 "Sign":{ 1224 "shape":"PrimitiveBoolean", 1225 "documentation":"<p>Specifies whether an Amazon Web Services Payment Cryptography key can be used for signing.</p>" 1226 }, 1227 "Unwrap":{ 1228 "shape":"PrimitiveBoolean", 1229 "documentation":"<p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to unwrap other keys.</p>" 1230 }, 1231 "Verify":{ 1232 "shape":"PrimitiveBoolean", 1233 "documentation":"<p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to verify signatures.</p>" 1234 }, 1235 "Wrap":{ 1236 "shape":"PrimitiveBoolean", 1237 "documentation":"<p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to wrap other keys.</p>" 1238 } 1239 }, 1240 "documentation":"<p>The list of cryptographic operations that you can perform using the key. The modes of use are defined in section A.5.3 of the TR-31 spec.</p>" 1241 }, 1242 "KeyOrigin":{ 1243 "type":"string", 1244 "documentation":"<p>Defines the source of a key</p>", 1245 "enum":[ 1246 "EXTERNAL", 1247 "AWS_PAYMENT_CRYPTOGRAPHY" 1248 ] 1249 }, 1250 "KeyState":{ 1251 "type":"string", 1252 "documentation":"<p>Defines the state of a key</p>", 1253 "enum":[ 1254 "CREATE_IN_PROGRESS", 1255 "CREATE_COMPLETE", 1256 "DELETE_PENDING", 1257 "DELETE_COMPLETE" 1258 ] 1259 }, 1260 "KeySummary":{ 1261 "type":"structure", 1262 "required":[ 1263 "Enabled", 1264 "Exportable", 1265 "KeyArn", 1266 "KeyAttributes", 1267 "KeyCheckValue", 1268 "KeyState" 1269 ], 1270 "members":{ 1271 "Enabled":{ 1272 "shape":"Boolean", 1273 "documentation":"<p>Specifies whether the key is enabled. </p>" 1274 }, 1275 "Exportable":{ 1276 "shape":"Boolean", 1277 "documentation":"<p>Specifies whether the key is exportable. This data is immutable after the key is created.</p>" 1278 }, 1279 "KeyArn":{ 1280 "shape":"KeyArn", 1281 "documentation":"<p>The Amazon Resource Name (ARN) of the key.</p>" 1282 }, 1283 "KeyAttributes":{ 1284 "shape":"KeyAttributes", 1285 "documentation":"<p>The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.</p>" 1286 }, 1287 "KeyCheckValue":{ 1288 "shape":"KeyCheckValue", 1289 "documentation":"<p>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.</p>" 1290 }, 1291 "KeyState":{ 1292 "shape":"KeyState", 1293 "documentation":"<p>The state of an Amazon Web Services Payment Cryptography that is being created or deleted.</p>" 1294 } 1295 }, 1296 "documentation":"<p>Metadata about an Amazon Web Services Payment Cryptography key.</p>" 1297 }, 1298 "KeySummaryList":{ 1299 "type":"list", 1300 "member":{"shape":"KeySummary"} 1301 }, 1302 "KeyUsage":{ 1303 "type":"string", 1304 "enum":[ 1305 "TR31_B0_BASE_DERIVATION_KEY", 1306 "TR31_C0_CARD_VERIFICATION_KEY", 1307 "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY", 1308 "TR31_D1_ASYMMETRIC_KEY_FOR_DATA_ENCRYPTION", 1309 "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS", 1310 "TR31_E1_EMV_MKEY_CONFIDENTIALITY", 1311 "TR31_E2_EMV_MKEY_INTEGRITY", 1312 "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS", 1313 "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION", 1314 "TR31_E6_EMV_MKEY_OTHER", 1315 "TR31_K0_KEY_ENCRYPTION_KEY", 1316 "TR31_K1_KEY_BLOCK_PROTECTION_KEY", 1317 "TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT", 1318 "TR31_M3_ISO_9797_3_MAC_KEY", 1319 "TR31_M1_ISO_9797_1_MAC_KEY", 1320 "TR31_M6_ISO_9797_5_CMAC_KEY", 1321 "TR31_M7_HMAC_KEY", 1322 "TR31_P0_PIN_ENCRYPTION_KEY", 1323 "TR31_P1_PIN_GENERATION_KEY", 1324 "TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE", 1325 "TR31_V1_IBM3624_PIN_VERIFICATION_KEY", 1326 "TR31_V2_VISA_PIN_VERIFICATION_KEY", 1327 "TR31_K2_TR34_ASYMMETRIC_KEY" 1328 ] 1329 }, 1330 "ListAliasesInput":{ 1331 "type":"structure", 1332 "members":{ 1333 "MaxResults":{ 1334 "shape":"MaxResults", 1335 "documentation":"<p>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.</p> <p>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.</p>" 1336 }, 1337 "NextToken":{ 1338 "shape":"NextToken", 1339 "documentation":"<p>Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of <code>NextToken</code> from the truncated response you just received.</p>" 1340 } 1341 } 1342 }, 1343 "ListAliasesOutput":{ 1344 "type":"structure", 1345 "required":["Aliases"], 1346 "members":{ 1347 "Aliases":{ 1348 "shape":"Aliases", 1349 "documentation":"<p>The list of aliases. Each alias describes the <code>KeyArn</code> contained within.</p>" 1350 }, 1351 "NextToken":{ 1352 "shape":"NextToken", 1353 "documentation":"<p>The token for the next set of results, or an empty or null value if there are no more results.</p>" 1354 } 1355 } 1356 }, 1357 "ListKeysInput":{ 1358 "type":"structure", 1359 "members":{ 1360 "KeyState":{ 1361 "shape":"KeyState", 1362 "documentation":"<p>The key state of the keys you want to list.</p>" 1363 }, 1364 "MaxResults":{ 1365 "shape":"MaxResults", 1366 "documentation":"<p>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.</p> <p>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.</p>" 1367 }, 1368 "NextToken":{ 1369 "shape":"NextToken", 1370 "documentation":"<p>Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of <code>NextToken</code> from the truncated response you just received.</p>" 1371 } 1372 } 1373 }, 1374 "ListKeysOutput":{ 1375 "type":"structure", 1376 "required":["Keys"], 1377 "members":{ 1378 "Keys":{ 1379 "shape":"KeySummaryList", 1380 "documentation":"<p>The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.</p>" 1381 }, 1382 "NextToken":{ 1383 "shape":"NextToken", 1384 "documentation":"<p>The token for the next set of results, or an empty or null value if there are no more results.</p>" 1385 } 1386 } 1387 }, 1388 "ListTagsForResourceInput":{ 1389 "type":"structure", 1390 "required":["ResourceArn"], 1391 "members":{ 1392 "MaxResults":{ 1393 "shape":"MaxResults", 1394 "documentation":"<p>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.</p> <p>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.</p>" 1395 }, 1396 "NextToken":{ 1397 "shape":"NextToken", 1398 "documentation":"<p>Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of <code>NextToken</code> from the truncated response you just received.</p>" 1399 }, 1400 "ResourceArn":{ 1401 "shape":"ResourceArn", 1402 "documentation":"<p>The <code>KeyARN</code> of the key whose tags you are getting.</p>" 1403 } 1404 } 1405 }, 1406 "ListTagsForResourceOutput":{ 1407 "type":"structure", 1408 "required":["Tags"], 1409 "members":{ 1410 "NextToken":{ 1411 "shape":"NextToken", 1412 "documentation":"<p>The token for the next set of results, or an empty or null value if there are no more results.</p>" 1413 }, 1414 "Tags":{ 1415 "shape":"Tags", 1416 "documentation":"<p>The list of tags associated with a <code>ResourceArn</code>. Each tag will list the key-value pair contained within that tag.</p>" 1417 } 1418 } 1419 }, 1420 "MaxResults":{ 1421 "type":"integer", 1422 "box":true, 1423 "max":100, 1424 "min":1 1425 }, 1426 "NextToken":{ 1427 "type":"string", 1428 "max":8192, 1429 "min":1 1430 }, 1431 "PrimitiveBoolean":{"type":"boolean"}, 1432 "ResourceArn":{ 1433 "type":"string", 1434 "max":150, 1435 "min":70, 1436 "pattern":"^arn:aws:payment-cryptography:[a-z]{2}-[a-z]{1,16}-[0-9]+:[0-9]{12}:key/[0-9a-zA-Z]{16,64}$" 1437 }, 1438 "ResourceNotFoundException":{ 1439 "type":"structure", 1440 "members":{ 1441 "ResourceId":{ 1442 "shape":"String", 1443 "documentation":"<p>The string for the exception.</p>" 1444 } 1445 }, 1446 "documentation":"<p>The request was denied due to an invalid resource error.</p>", 1447 "exception":true 1448 }, 1449 "RestoreKeyInput":{ 1450 "type":"structure", 1451 "required":["KeyIdentifier"], 1452 "members":{ 1453 "KeyIdentifier":{ 1454 "shape":"KeyArnOrKeyAliasType", 1455 "documentation":"<p>The <code>KeyARN</code> of the key to be restored within Amazon Web Services Payment Cryptography.</p>" 1456 } 1457 } 1458 }, 1459 "RestoreKeyOutput":{ 1460 "type":"structure", 1461 "required":["Key"], 1462 "members":{ 1463 "Key":{ 1464 "shape":"Key", 1465 "documentation":"<p>The key material of the restored key. The <code>KeyState</code> will change to <code>CREATE_COMPLETE</code> and value for <code>DeletePendingTimestamp</code> gets removed. </p>" 1466 } 1467 } 1468 }, 1469 "RootCertificatePublicKey":{ 1470 "type":"structure", 1471 "required":[ 1472 "KeyAttributes", 1473 "PublicKeyCertificate" 1474 ], 1475 "members":{ 1476 "KeyAttributes":{ 1477 "shape":"KeyAttributes", 1478 "documentation":"<p>The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the root public key is imported.</p>" 1479 }, 1480 "PublicKeyCertificate":{ 1481 "shape":"CertificateType", 1482 "documentation":"<p>Parameter information for root public key certificate import.</p>" 1483 } 1484 }, 1485 "documentation":"<p>Parameter information for root public key certificate import.</p>" 1486 }, 1487 "ServiceQuotaExceededException":{ 1488 "type":"structure", 1489 "members":{ 1490 "Message":{"shape":"String"} 1491 }, 1492 "documentation":"<p>This request would cause a service quota to be exceeded.</p>", 1493 "exception":true 1494 }, 1495 "ServiceUnavailableException":{ 1496 "type":"structure", 1497 "members":{ 1498 "Message":{"shape":"String"} 1499 }, 1500 "documentation":"<p>The service cannot complete the request.</p>", 1501 "exception":true, 1502 "fault":true 1503 }, 1504 "StartKeyUsageInput":{ 1505 "type":"structure", 1506 "required":["KeyIdentifier"], 1507 "members":{ 1508 "KeyIdentifier":{ 1509 "shape":"KeyArnOrKeyAliasType", 1510 "documentation":"<p>The <code>KeyArn</code> of the key.</p>" 1511 } 1512 } 1513 }, 1514 "StartKeyUsageOutput":{ 1515 "type":"structure", 1516 "required":["Key"], 1517 "members":{ 1518 "Key":{ 1519 "shape":"Key", 1520 "documentation":"<p>The <code>KeyARN</code> of the Amazon Web Services Payment Cryptography key activated for use.</p>" 1521 } 1522 } 1523 }, 1524 "StopKeyUsageInput":{ 1525 "type":"structure", 1526 "required":["KeyIdentifier"], 1527 "members":{ 1528 "KeyIdentifier":{ 1529 "shape":"KeyArnOrKeyAliasType", 1530 "documentation":"<p>The <code>KeyArn</code> of the key.</p>" 1531 } 1532 } 1533 }, 1534 "StopKeyUsageOutput":{ 1535 "type":"structure", 1536 "required":["Key"], 1537 "members":{ 1538 "Key":{ 1539 "shape":"Key", 1540 "documentation":"<p>The <code>KeyARN</code> of the key.</p>" 1541 } 1542 } 1543 }, 1544 "String":{"type":"string"}, 1545 "Tag":{ 1546 "type":"structure", 1547 "required":["Key"], 1548 "members":{ 1549 "Key":{ 1550 "shape":"TagKey", 1551 "documentation":"<p>The key of the tag.</p>" 1552 }, 1553 "Value":{ 1554 "shape":"TagValue", 1555 "documentation":"<p>The value of the tag.</p>" 1556 } 1557 }, 1558 "documentation":"<p>A structure that contains information about a tag.</p>" 1559 }, 1560 "TagKey":{ 1561 "type":"string", 1562 "max":128, 1563 "min":1 1564 }, 1565 "TagKeys":{ 1566 "type":"list", 1567 "member":{"shape":"TagKey"}, 1568 "max":200, 1569 "min":0 1570 }, 1571 "TagResourceInput":{ 1572 "type":"structure", 1573 "required":[ 1574 "ResourceArn", 1575 "Tags" 1576 ], 1577 "members":{ 1578 "ResourceArn":{ 1579 "shape":"ResourceArn", 1580 "documentation":"<p>The <code>KeyARN</code> of the key whose tags are being updated.</p>" 1581 }, 1582 "Tags":{ 1583 "shape":"Tags", 1584 "documentation":"<p>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.</p> <important> <p>Don't include personal, confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.</p> </important> <p>To use this parameter, you must have <a>TagResource</a> permission in an IAM policy.</p> <important> <p>Don't include personal, confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.</p> </important>" 1585 } 1586 } 1587 }, 1588 "TagResourceOutput":{ 1589 "type":"structure", 1590 "members":{ 1591 } 1592 }, 1593 "TagValue":{ 1594 "type":"string", 1595 "max":256, 1596 "min":0 1597 }, 1598 "Tags":{ 1599 "type":"list", 1600 "member":{"shape":"Tag"}, 1601 "max":200, 1602 "min":0 1603 }, 1604 "ThrottlingException":{ 1605 "type":"structure", 1606 "members":{ 1607 "Message":{"shape":"String"} 1608 }, 1609 "documentation":"<p>The request was denied due to request throttling.</p>", 1610 "exception":true 1611 }, 1612 "Timestamp":{"type":"timestamp"}, 1613 "Tr31WrappedKeyBlock":{ 1614 "type":"string", 1615 "max":9984, 1616 "min":56, 1617 "pattern":"^[0-9A-Z]+$" 1618 }, 1619 "Tr34KeyBlockFormat":{ 1620 "type":"string", 1621 "enum":["X9_TR34_2012"] 1622 }, 1623 "Tr34WrappedKeyBlock":{ 1624 "type":"string", 1625 "max":4096, 1626 "min":2, 1627 "pattern":"^[0-9A-F]+$" 1628 }, 1629 "TrustedCertificatePublicKey":{ 1630 "type":"structure", 1631 "required":[ 1632 "CertificateAuthorityPublicKeyIdentifier", 1633 "KeyAttributes", 1634 "PublicKeyCertificate" 1635 ], 1636 "members":{ 1637 "CertificateAuthorityPublicKeyIdentifier":{ 1638 "shape":"KeyArnOrKeyAliasType", 1639 "documentation":"<p>The <code>KeyARN</code> of the root public key certificate or certificate chain that signs the trusted public key certificate import.</p>" 1640 }, 1641 "KeyAttributes":{ 1642 "shape":"KeyAttributes", 1643 "documentation":"<p>The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after a trusted public key is imported.</p>" 1644 }, 1645 "PublicKeyCertificate":{ 1646 "shape":"CertificateType", 1647 "documentation":"<p>Parameter information for trusted public key certificate import.</p>" 1648 } 1649 }, 1650 "documentation":"<p>Parameter information for trusted public key certificate import.</p>" 1651 }, 1652 "UntagResourceInput":{ 1653 "type":"structure", 1654 "required":[ 1655 "ResourceArn", 1656 "TagKeys" 1657 ], 1658 "members":{ 1659 "ResourceArn":{ 1660 "shape":"ResourceArn", 1661 "documentation":"<p>The <code>KeyARN</code> of the key whose tags are being removed.</p>" 1662 }, 1663 "TagKeys":{ 1664 "shape":"TagKeys", 1665 "documentation":"<p>One or more tag keys. Don't include the tag values.</p> <p>If the Amazon Web Services Payment Cryptography key doesn't have the specified tag key, Amazon Web Services Payment Cryptography doesn't throw an exception or return a response. To confirm that the operation succeeded, use the <a>ListTagsForResource</a> operation.</p>" 1666 } 1667 } 1668 }, 1669 "UntagResourceOutput":{ 1670 "type":"structure", 1671 "members":{ 1672 } 1673 }, 1674 "UpdateAliasInput":{ 1675 "type":"structure", 1676 "required":["AliasName"], 1677 "members":{ 1678 "AliasName":{ 1679 "shape":"AliasName", 1680 "documentation":"<p>The alias whose associated key is changing.</p>" 1681 }, 1682 "KeyArn":{ 1683 "shape":"KeyArn", 1684 "documentation":"<p>The <code>KeyARN</code> for the key that you are updating or removing from the alias.</p>" 1685 } 1686 } 1687 }, 1688 "UpdateAliasOutput":{ 1689 "type":"structure", 1690 "required":["Alias"], 1691 "members":{ 1692 "Alias":{ 1693 "shape":"Alias", 1694 "documentation":"<p>The alias name.</p>" 1695 } 1696 } 1697 }, 1698 "ValidationException":{ 1699 "type":"structure", 1700 "members":{ 1701 "Message":{"shape":"String"} 1702 }, 1703 "documentation":"<p>The request was denied due to an invalid request error.</p>", 1704 "exception":true 1705 }, 1706 "WrappedKey":{ 1707 "type":"structure", 1708 "required":[ 1709 "KeyMaterial", 1710 "WrappedKeyMaterialFormat", 1711 "WrappingKeyArn" 1712 ], 1713 "members":{ 1714 "KeyCheckValue":{ 1715 "shape":"KeyCheckValue", 1716 "documentation":"<p>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.</p>" 1717 }, 1718 "KeyCheckValueAlgorithm":{ 1719 "shape":"KeyCheckValueAlgorithm", 1720 "documentation":"<p>The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.</p> <p>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.</p>" 1721 }, 1722 "KeyMaterial":{ 1723 "shape":"KeyMaterial", 1724 "documentation":"<p>Parameter information for generating a wrapped key using TR-31 or TR-34 skey exchange method.</p>" 1725 }, 1726 "WrappedKeyMaterialFormat":{ 1727 "shape":"WrappedKeyMaterialFormat", 1728 "documentation":"<p>The key block format of a wrapped key.</p>" 1729 }, 1730 "WrappingKeyArn":{ 1731 "shape":"KeyArn", 1732 "documentation":"<p>The <code>KeyARN</code> of the wrapped key.</p>" 1733 } 1734 }, 1735 "documentation":"<p>Parameter information for generating a WrappedKeyBlock for key exchange.</p>" 1736 }, 1737 "WrappedKeyCryptogram":{ 1738 "type":"string", 1739 "max":4096, 1740 "min":16, 1741 "pattern":"^[0-9A-F]+$" 1742 }, 1743 "WrappedKeyMaterialFormat":{ 1744 "type":"string", 1745 "enum":[ 1746 "KEY_CRYPTOGRAM", 1747 "TR31_KEY_BLOCK", 1748 "TR34_KEY_BLOCK" 1749 ] 1750 }, 1751 "WrappingKeySpec":{ 1752 "type":"string", 1753 "enum":[ 1754 "RSA_OAEP_SHA_256", 1755 "RSA_OAEP_SHA_512" 1756 ] 1757 } 1758 }, 1759 "documentation":"<p>Amazon Web Services Payment Cryptography Control Plane APIs manage encryption keys for use during payment-related cryptographic operations. You can create, import, export, share, manage, and delete keys. You can also manage Identity and Access Management (IAM) policies for keys. For more information, see <a href=\"https://docs.aws.amazon.com/payment-cryptography/latest/userguide/security-iam.html\">Identity and access management</a> in the <i>Amazon Web Services Payment Cryptography User Guide.</i> </p> <p>To use encryption keys for payment-related transaction processing and associated cryptographic operations, you use the <a href=\"https://docs.aws.amazon.com/payment-cryptography/latest/DataAPIReference/Welcome.html\">Amazon Web Services Payment Cryptography Data Plane</a>. You can perform actions like encrypt, decrypt, generate, and verify payment-related data.</p> <p>All Amazon Web Services Payment Cryptography API calls must be signed and transmitted using Transport Layer Security (TLS). We recommend you always use the latest supported TLS version for logging API requests. </p> <p>Amazon Web Services Payment Cryptography supports CloudTrail for control plane operations, a service that logs Amazon Web Services API calls and related events for your Amazon Web Services account and delivers them to an Amazon S3 bucket you specify. By using the information collected by CloudTrail, you can determine what requests were made to Amazon Web Services Payment Cryptography, who made the request, when it was made, and so on. If you don't configure a trail, you can still view the most recent events in the CloudTrail console. For more information, see the <a href=\"https://docs.aws.amazon.com/awscloudtrail/latest/userguide/\">CloudTrail User Guide</a>.</p>" 1760} 1761