Activity Forums Salesforce® Discussions What is Named Credential in Salesforce?

  • Hariom Chaudhary

    Member
    August 22, 2019 at 4:58 am

    Hi,

    A named credential specifies the URL of a callout endpoint and its required authentication parameters in one definition. Salesforce manages all authentication for Apex callouts that specify a named credential as the callout endpoint so that your code doesn’t have to. You can also skip remote site settings, which are otherwise required for callouts to external sites, for the site defined in the named credential.
    By separating the endpoint URL and authentication from the callout definition, named credentials make callouts easier to maintain. For example, if an endpoint URL changes, you update only the named credential. All callouts that reference the named credential simply continue to work.

    For more info visit:

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

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos