Page created: 15 Jul 2022 |
Page updated: 20 Jan 2023
To import an encryption-settings definition that has been previously exported, use the encryption-settings tool with the import subcommand. The subcommand takes the following arguments:
- Specifies the path to the file containing the exported encryption-settings definition. This argument is required.
- Specifies the path to a PIN file containing the password to use to encrypt the contents of the exported definition. If this argument isn't provided, then the PIN is interactively requested from the server.
- Specifies that the newly-imported encryption-settings definition should be made for the preferred definition for subsequent encryption-settings.
Use the encryption-settings tool with the
import subcommand to import the definition to a file.
$ bin/encryption-settings import --input-file /tmp/exported-key --set-preferred Enter the PIN used to encrypt the definition:
Successfully imported encryption settings definition F635E109A8549651025D01D9A6A90F7C9017C66D from file /tmp/exported-key