How to implement key rotation for deterministic encryption?

I’ve created a new rotated encryption key for deterministic encryption, and tried setting config.active_record.encryption.deterministic_key = [ ENV["DETERMINISTIC_KEY"], ENV["DETERMINISTIC_KEY_ROTATED"] ]

I got the expected error ActiveRecord::Encryption::Errors::Configuration: Deterministic encryption keys can't be rotated (ActiveRecord::Encryption::Errors::Configuration).

Question is, if I do reallly want to continue with rotating deterministic keys, then how can I go about that? Do I need to write a custom key provider?