Encryption

Home / Guide / Operation / Encryption

2. Assign the column encryption settings

    Here, you will assign which policy is to be applied when encrypting a column. The command looks like:
    MyDiamo > SET COLUMN <OWNER>”<TABLE>”<COLUMN>”<POLICY ID>

    For example, if you want to encrypt the “ADDRESS” column of the “EMPLOYEE” table of “JAMES” owner(=DB name) from “SYS” user by using the “addressPolicy” policy created previously, then you would execute the command like:

    MyDiamo >set column JAMES"EMPLOYEE"ADDRESS"addressPolicy