function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Dan MurrayDan Murray 

Why are protected custom settings still viewable by system admins?

I created a protected custom setting in my managed application and installed it on my Dev Edition org and inserted a secret. However, I can still view/edit this secrets from the UI as a sysadmin. Can you tell me what I'm doing wrong here?
Suraj MakandarSuraj Makandar
Hi Dan,

Protected custom settings will not be visible in subscriber org.

However, if you have used any VF page or Lightning component to show the custom setting values then yes users can see it.

Thanks,
Suraj
Dan MurrayDan Murray

Howdy Suraj,

If I am logged in as a system administrator I can view/edit/manage the protected custom settings via the Setup Page.

Dan