Importing encryption settings definitions
The encryption-settings import
command with the import
subcommand provides you with a mechanism to import definitions into the encryption settings database.
About this task
Steps
-
To import definitions into the encryption settings database, use the
encryption-settings
command with theimport
subcommand.The
import
subcommand supports the following arguments.Argument Description --input-file
(required)Specifies the path to the file containing the exported encryption settings definitions.
--pin-file
(optional)Specifies the path to a file containing the passphrase used to protect the contents of the encryption settings definitions.
If this is not provided, the tool interactively prompts for the passphrase.
--set-preferred
(optional)An optional argument that indicates that if the export file contains a definition that is marked as preferred, then it becomes the new preferred definition for the instance.
When importing definitions into a non-empty encryption settings database, the existing definitions are preserved and the new definitions are added alongside them. If any of the definitions from the import file already exist in the database, they are skipped when processing the import.
The following is an example of the command with one of the arguments included.
$ bin/encryption-settings import \ --input-file exported-definitions.esd Enter the PIN used to encrypt the definition: Successfully imported encryption settings definition 125480AFA3300CD8E48CDF53AF3A0D4DDC8760E115C5B986530F1FE438B19DBD from file /ds/{pingdir}/exported-definitions.esd. Successfully imported encryption settings definition CA8A76C13DD5CC3F85A437119D9DC0867396910F64E228962A30FF80B36C3B63 from file /ds/{pingdir}/exported-definitions.esd.