ExportMasterKey

The ExportMasterKey action exports the master key. The syntax of the ExportMasterKey action is as follows.

jdbcrypt path=database-path
         ini=initialization-file-name
         action=ExportMasterKey ExportPath=file-path

The ExportMasterKey action requires the manual entry of the master key passphrase. This action fails unless the EnableDatabaseEncryption action included the MultipleExport=true argument and value.

The ExportPath argument value is the name of the directory to which the file containing the exported key is written. The name of the file is defined by the database encryption UUID and timestamp; for example:

JADEDB.Master.25146be6-8aca-01cb-1027-0000e329f802.20101123045153031.txt

The following is an example of the ExportMasterKey action.

jdbcrypt path=d:\dbcrypt ini=d:\salesdb\jade.ini action=ExportMasterKey ExportPath=d:\jade\security\prodsales