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
shekhar 46shekhar 46 

what is best way to store credentials while doing integration?

what is best way to store credentials while doing integration?
why to use that .
VinayVinay (Salesforce Developers) 
Use named credential to store authentication details. It is significantly more secure than Custom Settings. No one in the system can view a password once saved to this object.

Reference:
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_callouts_named_credentials.htm

Please mark as Best Answer if above information was helpful.

Thanks,