Configuring encryption in EventBridge Pipes
You can specify the KMS key for EventBridge to use when you create or update a pipe.
Specifying the Amazon KMS key used for encryption when creating a pipe
Choosing the Amazon KMS key used for encryption is an option creating a pipe. The default is to use the Amazon owned key provided by EventBridge.
To specify a customer managed key for encryption when creating a pipe (console)
-
Follow these instructions:
To specify a customer managed key for encryption when creating a pipe (CLI)
-
When calling
create-pipe
, use thekms-key-identifier
option to specify the customer managed key for EventBridge to use for encryption on the event bus.
Updating the Amazon KMS key used for encryption on EventBridge Pipes
You can update the Amazon KMS key being used for encryption at rest on an existing pipe. This includes:
-
Changing from the default Amazon owned key to a customer managed key.
-
Changing from a customer managed key to the default Amazon owned key.
-
Changing from one customer managed key to another.
When you update a pipe to use a different Amazon KMS key, EventBridge decrypts any data stored on the pipe and then encrypts it using the new key.
To update the KMS key used for encryption on a pipe (console)
Open the Amazon EventBridge console at https://console.amazonaws.cn/events/
. -
In the navigation pane, choose Pipes.
-
Choose the pipe you want to update.
-
On the pipe bus details page, choose the Encryption tab.
-
Choose the KMS key for EventBridge to use when encrypting the data stored on pipe:
-
Choose Use Amazon owned key for EventBridge to encrypt the data using an Amazon owned key.
This Amazon owned key is a KMS key that EventBridge owns and manages for use in multiple Amazon accounts. In general, unless you are required to audit or control the encryption key that protects your resources, an Amazon owned key is a good choice.
This is the default.
-
Choose Use customer managed key for EventBridge to encrypt the data using the customer managed key that you specify or create.
Customer managed keys are KMS keys in your Amazon account that you create, own, and manage. You have full control over these KMS keys.
-
Specify an existing customer managed key, or choose Create a new KMS key.
EventBridge displays the key status and any key aliases that have been associated with the specified customer managed key.
-
-
To update the KMS key used for encryption on a pipe (CLI)
-
When calling
update-pipe
, use thekms-key-identifier
option to specify the customer managed key for EventBridge to use for encrypting pipe data.