Determines how the new key will be distributed to subscribers.
Remarks
With rotate, the new key will be sent to the stream alongside the next published message. The key will be
encrypted using the current key. Only after this will the new key be used for publishing. This
provides forward secrecy.
With rekey, we for each subscriber to fetch the new key individually. This ensures each subscriber's
permissions are revalidated before they are given the new key.
Determines how the new key will be distributed to subscribers.
Remarks
With
rotate
, the new key will be sent to the stream alongside the next published message. The key will be encrypted using the current key. Only after this will the new key be used for publishing. This provides forward secrecy.With
rekey
, we for each subscriber to fetch the new key individually. This ensures each subscriber's permissions are revalidated before they are given the new key.