Creating an Encrypted Database
To create an encrypted database you need to add the parameter encrypt in the create database command.
db2 => create db <database_name> encrypt
For Example: db2 => create db myencdb encrypt
Note
In the above example, an encrypted database myencdb is created. This database is using the native encryption of DB2.
After executing the above command, a master encryption key is created in the CipherTrust Manager.