Updated 2025-02-03

Updating the Master Encryption Key Assigned to a Queue

Update a queue to use your own encryption key. You can use a different encryption key for each queue.

By default, all encryption-related matters are handled by Oracle, but you can manage your own encryption keys using OCI Vault. Vault allows you to bring your own Advanced Encryption Standard (AES) symmetric keys and manage, rotate, disable, and delete them as needed. For more information, see Overview of Vault and Managing Keys.

To use your own encryption key, first ensure that you have the required IAM policies and import your key.

Policy for Encryption Keys

To use your own encryption key, you must let the Queue service use a Vault key to encrypt data in queues. For example:

allow service queue to use keys in compartment ABC where target.key.id = '<key_OCID>'

If you're new to policies, see Managing Identity Domains and Common Policies. If you want to dig deeper into writing policies for the Queue service, see Queue Policies.

Updated 2025-02-03