View source: R/kms_operations.R
kms_import_key_material | R Documentation |
Imports or reimports key material into an existing KMS key that was created without key material. import_key_material
also sets the expiration model and expiration date of the imported key material.
See https://www.paws-r-sdk.com/docs/kms_import_key_material/ for full documentation.
kms_import_key_material(
KeyId,
ImportToken,
EncryptedKeyMaterial,
ValidTo = NULL,
ExpirationModel = NULL
)
KeyId |
[required] The identifier of the KMS key that will be associated with the imported
key material. This must be the same KMS key specified in the The KMS key can be a symmetric encryption KMS key, HMAC KMS key, asymmetric encryption KMS key, or asymmetric signing KMS key, including a multi-Region key of any supported type. You cannot perform this operation on a KMS key in a custom key store, or on a KMS key in a different Amazon Web Services account. 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
|
ImportToken |
[required] The import token that you received in the response to a previous
|
EncryptedKeyMaterial |
[required] The encrypted key material to import. The key material must be encrypted
under the public wrapping key that
|
ValidTo |
The date and time when the imported key material expires. This parameter
is required when the value of the The value of this parameter must be a future date and time. The maximum value is 365 days from the request date. When the key material expires, KMS deletes the key material from the KMS key. Without its key material, the KMS key is unusable. To use the KMS key in cryptographic operations, you must reimport the same key material. You cannot change the |
ExpirationModel |
Specifies whether the key material expires. The default is
When the value of You cannot change the |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.