# newBootPassword = <new password>

#### Function

Specifies a new boot password for an encrypted database. A new encryption key is generated internally by the engine and the key is protected using the new boot password. The newly generated encryption key encrypts the database, including the existing data. For more information about this attribute, see "Encrypting databases with a new boot password" in the Derby Developer's Guide.

#### Combining with other attributes

The newBootPassword attribute must be combined with the bootPassword=key attribute.

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

#### Example

    -- specify a new boot password for a database
    jdbc:derby:salesdb;bootPassword=abc1234xyz;newBootPassword=new1234xyz

Parent topic: Setting attributes for the database connection URL
Related reference
bootPassword=key
create=true
createFrom=Path
databaseName=nameofDatabase
dataEncryption=true
encryptionKey=<key>
encryptionProvider=providerName
encryptionAlgorithm=algorithm
logDevice=logDirectoryPath
newEncryptionKey= <key>
password=userPassword
restoreFrom=Path
rollForwardRecoveryFrom=Path
shutdown=true
territory=ll_CC
user=userName
(no attributes)