newEncryptionKey= <key> newEncryptionKey= <new encryption key> encrypting databasesnew encryption key databasesattributes, new encryption key attributesnewEncryptionKey
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 .

Combining with other attributes

The newEncryptionKey attribute must be combined with the 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