Updating the Master Encryption Key Assigned to a Stream Pool
This information describes updating the master encryption key assigned to a stream pool.
Required IAM Policy
To use Oracle Cloud Infrastructure, an administrator must be a member of a group granted security access in a policy by a tenancy administrator. This access is required whether you're using the Console or the REST API with an SDK, CLI, or other tool. If you get a message that you don't have permission or are unauthorized, verify with the tenancy administrator what type of access you have and which compartment your access works in.
To use your own encryption key, you must let the Streaming service use a Vault key to encrypt data in
streams in this stream pool. For example:
allow service streaming to use keys in compartment ABC where target.key.id = '<key_OCID>'
The preceding policy also requires a companion policy to let Streaming use a key on behalf of
a user group to create a stream pool that uses the key for
cryptographic purposes. For example:
Copy
allow user group StreamWriters to use key-delegate in compartment ABC where target.key.id = '<key_OCID>'
Open the navigation menu and select Analytics & AI. Under Messaging, select Streaming.
Click Stream Pools.
Click a stream pool to display the stream pool details page.
In Stream Pool Information, next to Encryption Key, do one of the
following:
To stop using an Oracle-managed key in favor of a Vault master encryption key that you manage,
click Assign, select a vault and encryption key you
have access to, and then click Assign.
To select a different Vault master encryption
key that you manage, click Update, select a vault and
encryption key you have access to, and then click
Update.
Click Unassign to remove the assigned Vault master encryption key and let Oracle
manage the encryption key, and then click Unassign
again to confirm the removal of the existing key assignment.