1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix config names for EnvelopeEncryptionKeyProvider [ci-skip]

This commit is contained in:
Jonathan Hefner 2022-02-15 13:51:03 -06:00
parent 0c6ea785b6
commit 62c88676e3

View file

@ -6,11 +6,11 @@ module ActiveRecord
#
# * It generates a random data-encryption key for each encryption operation.
# * It stores the generated key along with the encrypted payload. It encrypts this key
# with the master key provided in the credential +active_record.encryption.master key+.
# with the master key provided in the +active_record_encryption.primary_key+ credential.
#
# This provider can work with multiple master keys. It will use the last one for encrypting.
#
# When +config.store_key_references+ is true, it will also store a reference to
# When +config.active_record.encryption.store_key_references+ is true, it will also store a reference to
# the specific master key that was used to encrypt the data-encryption key. When not set,
# it will try all the configured master keys looking for the right one, in order to
# return the right decryption key.