You must run all of the following commands in a Query window in SQL Server Management Studio.
1
Run the following commands to create a credential for system administrators to use:Change the values set in the IDENTITY and SECRET fields to match the name and password of the KMES user you specified in the FXCL EKM configuration file.
Sql
2
Run the following commands to add the credential to a high-privileged user, such as your own domain login in the [DOMAIN\login] format:
Sql
3
Run the following commands to create an asymmetric key stored inside the FXCL EKM provider:
Sql
4
ppRun the following commands to create a credential for the database engine to use:Change the values set in the IDENTITY and SECRET fields to match the name and password of the KMES user you specified in the FXCL EKM configuration file.
Sql
5
Run the following commands to create a login that uses the asymmetric key stored inside the FXCL EKM provider:
Sql
6
Run the following commands to enable the login to use the database engine credential:
Sql
7
Run the following commands to create a new example database, add a table to it, and insert information into the table:
You cannot execute database encryption operations on master, model, tempdb, msdb, or resource databases.
Sql
8
Run the following commands to create a database encryption key for the exampleDB database:
Sql
9
Run the following commands to enable transparent data encryption on the exampledb database:
Sql
10
To check if data can be decrypted, restart SQL Server service with the KMES Series 3 offline, then run the following command. If it fails, TDE is configured correctly. If the KMES is online, the command should succeed.
Sql
You can view the asymmetric key that is created on the KMES Series 3 and used for encrypting the Database Encryption Key (DEK) on the Key Management > Keys menu in the KMES application interface.

