class

ActiveRecord::Encryption::KeyProvider

rails latest stable - Superclass: Object

A KeyProvider serves keys:

  • An encryption key

  • A list of potential decryption keys. Serving multiple decryption keys supports rotation-schemes where new keys are added but old keys need to continue working

Files

  • activerecord/lib/active_record/encryption/key_provider.rb