Skip to content

Commit

Permalink
Updated readme for Lockbox 1.0 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Jun 12, 2022
1 parent ed5be75 commit 3840102
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -429,8 +429,8 @@ class User < ApplicationRecord
has_kms_key name: :phone, key_id: "..."

# Lockbox
encrypts :email, key: :kms_key
encrypts :phone, key: :kms_key_phone
has_encrypted :email, key: :kms_key
has_encrypted :phone, key: :kms_key_phone

# attr_encrypted
attr_encrypted :email, key: :kms_key
Expand Down

0 comments on commit 3840102

Please sign in to comment.