Skip to main content
Named credentials

Enforce using named credentials instead of manually hard-wiring credentials when performing HTTP requests.

Lorenzo Frattini avatar
Written by Lorenzo Frattini
Updated over 6 years ago

Rationale

As a best practice, named credential should be used to specify callout endpoints and their required authentication. Using named credentials keeps your app significantly more maintainable, and removes the need for creating remote site settings, which are otherwise required for callouts to external sites.  

Did this answer your question?