Column encryption - encrypting existing column
It is common case that organizations first create database and later decide that they want to implement encryption. In this recipe, you're going to encrypt an existing column using TDE column encryption.
Getting ready
It is assumed that a keystore is opened and a master key is created.
How to do it...
- Connect to the database as a user who can read data from the
OE.CUSTOMERS
table (for example, theoe
user):$ sqlplus oe
- Select data from column you want to encrypt (for example,
cust_email
), just to verify that the user can view it. - Connect to the database as a user who has administer ...
Get Oracle Database 12c Security Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.