instance method build_key_provider

Ruby on Rails 7.0.10

Since v7.0.10 Last seen in v7.0.10 Private — implementation detail, not part of the public API

Signature

build_key_provider()

No documentation comment.

Source
# File activerecord/lib/active_record/encryption/scheme.rb, line 90
        def build_key_provider
          return DerivedSecretKeyProvider.new(@key) if @key.present?

          if @deterministic && (deterministic_key = ActiveRecord::Encryption.config.deterministic_key)
            DeterministicKeyProvider.new(deterministic_key)
          end
        end

Defined in activerecord/lib/active_record/encryption/scheme.rb line 90 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Encryption::Scheme

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close