newEncryptionKey= <key>

Function

Specifies a new external encryption key for an encrypted database. All of the existing data in the database is encrypted using the new encryption key and any new data written to the database will use this key for encryption. For more information about this attribute, see "Encrypting databases with a new external key" in the Derby Developer's Guide.

Combining with other attributes

The newEncryptionKey attribute must be combined with the encryptionKey=<key> attribute.

You cannot change the encryption provider or the encryption algorithm when you use the newEncryptionKey attribute.

Example

-- specify a new encryption key for a database
jdbc:derby:salesdb;encryptionKey=6162636465666768;newEncryptionKey=6862636465666768
Related reference
bootPassword=key
create=true
createFrom=Path
databaseName=nameofDatabase
dataEncryption=true
encryptionKey=<key>
encryptionProvider=providerName
encryptionAlgorithm=algorithm
logDevice=logDirectoryPath
newBootPassword = <new password>
password=userPassword
restoreFrom=Path
rollForwardRecoveryFrom=Path
shutdown=true
territory=ll_CC
user=userName
(no attributes)