Skip to main content

parameters_for_imports

Creates, updates, deletes, gets or lists a parameters_for_imports resource.

Overview

Nameparameters_for_imports
TypeResource
Idaws.payment_cryptography.parameters_for_imports

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
import_tokenstringThe import token to initiate key import into Amazon Web Services Payment Cryptography. The import token expires after 30 days. You can use the same import token to import multiple keys to the same service account. (pattern: <code>(import-token-[0-9a-zA-Z]{16,64})?</code>)
parameters_valid_until_timestampstring (date-time)The validity period of the import token.
wrapping_key_algorithmstringThe algorithm of the wrapping key for use within TR-34 WrappedKeyBlock or RSA WrappedKeyCryptogram. (TDES_2KEY, TDES_3KEY, AES_128, AES_192, AES_256, HMAC_SHA256, HMAC_SHA384, HMAC_SHA512, HMAC_SHA224, RSA_2048, RSA_3072, RSA_4096, ECC_NIST_P256, ECC_NIST_P384, ECC_NIST_P521)
wrapping_key_certificatestringThe wrapping key certificate in PEM format (base64 encoded) of the wrapping key for use within the TR-34 key block. The certificate expires in 30 days. (pattern: <code>[^&#91;;&#93;<>]+</code>)
wrapping_key_certificate_chainstringThe Amazon Web Services Payment Cryptography root certificate authority (CA) that signed the wrapping key certificate in PEM format (base64 encoded). (pattern: <code>[^&#91;;&#93;<>]+</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_parameters_for_importselectregionGets 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. The wrapping key certificate wraps the key under import. The import token and wrapping key certificate must be in place and operational before calling ImportKey. The import token expires in 30 days. You can use the same import token to import multiple keys into your service account. To return a previously generated import token and wrapping key certificate instead of generating new ones, set ReuseLastGeneratedToken to true. Cross-account use: This operation can't be used across different Amazon Web Services accounts. Related operations: GetParametersForExport ImportKey

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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. The wrapping key certificate wraps the key under import. The import token and wrapping key certificate must be in place and operational before calling ImportKey. The import token expires in 30 days. You can use the same import token to import multiple keys into your service account. To return a previously generated import token and wrapping key certificate instead of generating new ones, set ReuseLastGeneratedToken to true. Cross-account use: This operation can't be used across different Amazon Web Services accounts. Related operations: GetParametersForExport ImportKey

SELECT
import_token,
parameters_valid_until_timestamp,
wrapping_key_algorithm,
wrapping_key_certificate,
wrapping_key_certificate_chain
FROM aws.payment_cryptography.parameters_for_imports
WHERE region = '{{ region }}' -- required
;