How to see encrypted field in System mode?

The "view encrypted data" permission is required for the user to see the field value in plain text!

Note you cannot edit this on standard profiles and will require you to clone the standard administrator profile.

An elegant solution is to create a permission set and have the “view encrypted data” permission enabled! Assign the permission set to the users needing it!

A note here is you need to log out and log back in to see this change!

The above is all true if you have classic encryption enabled!

If you have shield enabled then you don’t need this permission and one can view this field in plain text as the data is encrypted at rest!

Read more on shield encryption behavior for masked fields below article

https://help.salesforce.com/articleView?id=000315108


Only the users with the permission "View Encrypted Data" enabled on the profile assigned to the user can see the encrypted data.

Tags:

Security

Apex