Rotate Encryption Key for a Pluggable Database
This article provides the details and procedure to rotate encryption key for a pluggable database.
The rotate encryption key operation generates a new key version for the same key.
You can perform any number of key rotations. Periodically rotating keys limits the amount of data encrypted or signed by one key version. The history of retired keys is also maintained, which enables you to rotate the key and still be able to decrypt data that was encrypted by an earlier key.
The rotate key at container database and pluggable database levels works independently of each other. The rotate key operation on a container database will not rotate keys in the pluggable databases. Similarly, rotating keys in one pluggable database will not rotate keys in other pluggable databases or its container database.
To ensure you are using the latest version, rotate keys from the database details page on the OCI Console instead of the Vault service's Console page.
Note:
Rotating the encryption keys is not available for the databases that use Oracle-managed encryption.Procedure
Perform the following steps to rotate the encryption key for a pluggable database in a DB system using the OCI Console:
- From the navigation menu, select Oracle Database, and then select Oracle Base Database Service.
- Select your Compartment. A list of DB systems is displayed.
- On the DB systems list page, select the DB system that contains the pluggable database that you want to manage. The DB system details page is displayed.
- On the DB system details page, select the database that contains the pluggable database that you want to manage. The database details page is displayed.
- On the database details page, under Resources, select Pluggable Databases, and then select the pluggable database that you want to manage. The pluggable database details page is displayed.
- On the pluggable database details page, from the More actions menu, select Manage encryption key.
- Select Rotate Encryption Key.
- Select Update.