bootPassword=key bootPassword=key (database connection URL attribute) Encrypting databasesDatabasesencrypting
Function

Specifies the key to use for encrypting a new database or booting an existing encrypted database. Specify an alphanumeric string at least eight characters long.

Combining with other attributes

When creating a new database, must be combined with and . When booting an existing encrypted database, no other attributes are necessary.

-- boot an encrypted database jdbc:derby:encryptedDB;bootPassword=cseveryPlace -- create a new, encrypted database jdbc:derby:newDB;create=true;dataEncryption=true; bootPassword=cseveryPlace