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
sfdcconsultant2010sfdcconsultant2010 

Where to store user credentials while accessing an external system from SFDC

We have an integration requirement in which we are creating a new record in an external system and then passing the id of that record to salesforce and finally updating the parent record in salesforce. Basically the process starts in salesforce with a button click on the parent record. We will consume the external system's wsdl and generate the proxy class in SFDC. Now I want to understand the best practise about accessing the external system user credentials (integration user credentials). We do not want to store external system's credentials in Salesforce so what are our options? Is oAuth an option? What are the best practices around this requirement? Any help will be appreciated. 
Pankaj_GanwaniPankaj_Ganwani
As a best practice, we should always store user credentials in custom setting and use that in code.