View source: R/kms_operations.R
kms_get_parameters_for_import | R Documentation |
Returns the public key and an import token you need to import or reimport key material for a KMS key.
See https://www.paws-r-sdk.com/docs/kms_get_parameters_for_import/ for full documentation.
kms_get_parameters_for_import(KeyId, WrappingAlgorithm, WrappingKeySpec)
KeyId |
[required] The identifier of the KMS key that will be associated with the imported
key material. The All KMS key types are supported, including multi-Region keys. However, you cannot import key material into a KMS key in a custom key store. Specify the key ID or key ARN of the KMS key. For example:
To get the key ID and key ARN for a KMS key, use
|
WrappingAlgorithm |
[required] The algorithm you will use with the RSA public key ( For RSA_AES wrapping algorithms, you encrypt your key material with an AES key that you generate, then encrypt your AES key with the RSA public key from KMS. For RSAES wrapping algorithms, you encrypt your key material directly with the RSA public key from KMS. The wrapping algorithms that you can use depend on the type of key material that you are importing. To import an RSA private key, you must use an RSA_AES wrapping algorithm.
|
WrappingKeySpec |
[required] The type of RSA public key to return in the response. You will use this wrapping key with the specified wrapping algorithm to protect your key material during import. Use the longest RSA wrapping key that is practical. You cannot use an RSA_2048 public key to directly wrap an ECC_NIST_P521 private key. Instead, use an RSA_AES wrapping algorithm or choose a longer RSA public key. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.