AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Import-PAYCCKey-Tr34KeyBlock_CertificateAuthorityPublicKeyIdentifier <String>-TrustedCertificatePublicKey_CertificateAuthorityPublicKeyIdentifier <String>-KeyMaterial_RootCertificatePublicKey_KeyAttributes_KeyModesOfUse_Decrypt <Boolean>-KeyModesOfUse_Decrypt <Boolean>-KeyMaterial_RootCertificatePublicKey_KeyAttributes_KeyModesOfUse_DeriveKey <Boolean>-KeyModesOfUse_DeriveKey <Boolean>-Enabled <Boolean>-KeyMaterial_RootCertificatePublicKey_KeyAttributes_KeyModesOfUse_Encrypt <Boolean>-KeyModesOfUse_Encrypt <Boolean>-KeyMaterial_RootCertificatePublicKey_KeyAttributes_KeyModesOfUse_Generate <Boolean>-KeyModesOfUse_Generate <Boolean>-Tr34KeyBlock_ImportToken <String>-KeyMaterial_RootCertificatePublicKey_KeyAttributes_KeyAlgorithm <KeyAlgorithm>-KeyAttributes_KeyAlgorithm <KeyAlgorithm>-Tr34KeyBlock_KeyBlockFormat <Tr34KeyBlockFormat>-KeyCheckValueAlgorithm <KeyCheckValueAlgorithm>-KeyMaterial_RootCertificatePublicKey_KeyAttributes_KeyClass <KeyClass>-KeyAttributes_KeyClass <KeyClass>-KeyMaterial_RootCertificatePublicKey_KeyAttributes_KeyUsage <KeyUsage>-KeyAttributes_KeyUsage <KeyUsage>-KeyMaterial_RootCertificatePublicKey_KeyAttributes_KeyModesOfUse_NoRestrictions <Boolean>-KeyModesOfUse_NoRestriction <Boolean>-RootCertificatePublicKey_PublicKeyCertificate <String>-TrustedCertificatePublicKey_PublicKeyCertificate <String>-Tr34KeyBlock_RandomNonce <String>-KeyMaterial_RootCertificatePublicKey_KeyAttributes_KeyModesOfUse_Sign <Boolean>-KeyModesOfUse_Sign <Boolean>-Tr34KeyBlock_SigningKeyCertificate <String>-Tag <Tag[]>-KeyMaterial_RootCertificatePublicKey_KeyAttributes_KeyModesOfUse_Unwrap <Boolean>-KeyModesOfUse_Unwrap <Boolean>-KeyMaterial_RootCertificatePublicKey_KeyAttributes_KeyModesOfUse_Verify <Boolean>-KeyModesOfUse_Verify <Boolean>-KeyMaterial_RootCertificatePublicKey_KeyAttributes_KeyModesOfUse_Wrap <Boolean>-KeyModesOfUse_Wrap <Boolean>-Tr31KeyBlock_WrappedKeyBlock <String>-Tr34KeyBlock_WrappedKeyBlock <String>-Tr31KeyBlock_WrappingKeyIdentifier <String>-Select <String>-Force <SwitchParameter>-ClientConfig <AmazonPaymentCryptographyConfig>
ImportKey
you can import symmetric keys using either symmetric and asymmetric key exchange mechanisms.
For symmetric key exchange, Amazon Web Services Payment Cryptography uses the ANSI X9 TR-31 norm in accordance with PCI PIN guidelines. And for asymmetric key exchange, Amazon Web Services Payment Cryptography supports ANSI X9 TR-34 norm . Asymmetric key exchange methods are typically used to establish bi-directional trust between the two parties exhanging keys and are used for initial key exchange such as Key Encryption Key (KEK) or Zone Master Key (ZMK). After which you can import working keys using symmetric method to perform various cryptographic operations within Amazon Web Services Payment Cryptography.
The TR-34 norm is intended for exchanging 3DES keys only and keys are imported in a WrappedKeyBlock format. Key attributes (such as KeyUsage, KeyAlgorithm, KeyModesOfUse, Exportability) are contained within the key block.
You can also import a root public key certificate, used to sign other public key certificates, or a trusted public key certificate under an already established root public key certificate. To import a public root key certificate You can also import a root public key certificate, used to sign other public key certificates, or a trusted public key certificate under an already established root public key certificate. To import a public root key certificate Using this operation, you can import the public component (in PEM cerificate format) of your private root key. You can use the imported public root key certificate for digital signatures, for example signing wrapping key or signing key in TR-34, within your Amazon Web Services Payment Cryptography account.
Set the following parameters: KeyMaterial
: RootCertificatePublicKey
KeyClass
: PUBLIC_KEY
KeyModesOfUse
: Verify
KeyUsage
: TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE
PublicKeyCertificate
: The public key certificate in PEM format (base64 encoded) of the private root key under import. KeyMaterial
: TrustedCertificatePublicKey
CertificateAuthorityPublicKeyIdentifier
: KeyArn
of the RootCertificatePublicKey
. KeyModesOfUse
and KeyUsage
: Corresponding to the cryptographic operations such as wrap, sign, or encrypt that you will allow the trusted public key certificate to perform. PublicKeyCertificate
: The trusted public key certificate in PEM format (base64 encoded) under import. ImportKey
for RootCertificatePublicKey
. For more information on TR-34 key import, see section Importing symmetric keys in the Amazon Web Services Payment Cryptography User Guide.
Set the following parameters: KeyMaterial
: Use Tr34KeyBlock
parameters. CertificateAuthorityPublicKeyIdentifier
: The KeyARN
of the certificate chain that signed the KDH signing key certificate. ImportToken
: Obtained from KRD by calling GetParametersForImport. WrappedKeyBlock
: The TR-34 wrapped key material from KDH. It contains the KDH key under import, wrapped with KRD wrapping certificate and signed by KDH signing private key. This TR-34 key block is typically generated by the KDH Hardware Security Module (HSM) outside of Amazon Web Services Payment Cryptography. SigningKeyCertificate
: The public key certificate in PEM format (base64 encoded) of the KDH signing key generated under the root certificate (CertificateAuthorityPublicKeyIdentifier) imported in Amazon Web Services Payment Cryptography. KeyMaterial
: Use Tr31KeyBlock
parameters. WrappedKeyBlock
: The TR-31 wrapped key material. It contains the key under import, encrypted using KEK. The TR-31 key block is typically generated by a HSM outside of Amazon Web Services Payment Cryptography. WrappingKeyIdentifier
: The KeyArn
of the KEK that Amazon Web Services Payment Cryptography uses to decrypt or unwrap the key under import. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
AES
and TDES
algorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supports RSA
and ECC_NIST
algorithms. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_TrustedCertificatePublicKey_KeyAttributes_KeyAlgorithm |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_TrustedCertificatePublicKey_KeyAttributes_KeyClass |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_TrustedCertificatePublicKey_KeyAttributes_KeyUsage |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
AES
and TDES
algorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supports RSA
and ECC_NIST
algorithms. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
KeyUsage
. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_TrustedCertificatePublicKey_KeyAttributes_KeyModesOfUse_Decrypt |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_TrustedCertificatePublicKey_KeyAttributes_KeyModesOfUse_DeriveKey |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_TrustedCertificatePublicKey_KeyAttributes_KeyModesOfUse_Encrypt |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_TrustedCertificatePublicKey_KeyAttributes_KeyModesOfUse_Generate |
KeyUsage
. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_TrustedCertificatePublicKey_KeyAttributes_KeyModesOfUse_NoRestrictions |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_TrustedCertificatePublicKey_KeyAttributes_KeyModesOfUse_Sign |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_TrustedCertificatePublicKey_KeyAttributes_KeyModesOfUse_Unwrap |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_TrustedCertificatePublicKey_KeyAttributes_KeyModesOfUse_Verify |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_TrustedCertificatePublicKey_KeyAttributes_KeyModesOfUse_Wrap |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_RootCertificatePublicKey_PublicKeyCertificate |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | Tags |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_Tr31KeyBlock_WrappedKeyBlock |
KeyARN
of the key that will decrypt or unwrap a TR-31 key block during import. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_Tr31KeyBlock_WrappingKeyIdentifier |
KeyARN
of the certificate chain that signs the signing key certificate during TR-34 key import. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_Tr34KeyBlock_CertificateAuthorityPublicKeyIdentifier |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_Tr34KeyBlock_ImportToken |
X9_TR34_2012
. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_Tr34KeyBlock_KeyBlockFormat |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_Tr34KeyBlock_RandomNonce |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_Tr34KeyBlock_SigningKeyCertificate |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_Tr34KeyBlock_WrappedKeyBlock |
KeyARN
of the root public key certificate or certificate chain that signs the trusted public key certificate import. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_TrustedCertificatePublicKey_CertificateAuthorityPublicKeyIdentifier |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | KeyMaterial_TrustedCertificatePublicKey_PublicKeyCertificate |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AK |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AWSProfilesLocation, ProfilesLocation |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | StoredCredentials, AWSProfileName |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | RegionToCall |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | SK, SecretAccessKey |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | ST |
AWS Tools for PowerShell: 2.x.y.z