Newer Version Available

This content describes an older version of this product. View Latest

NamedCredential

Represents a named credential, which specifies the URL of a callout endpoint and its required authentication parameters in one definition. A named credential can be specified as an endpoint to simplify the setup of authenticated callouts.

For more information, see NamedCredential in the Object Reference.

Fields

Field Label API Field Name Type Digits Length Precision Scale
AllowMergeFieldsInBody CalloutOptionsAllowMergeFieldsInBody boolean
AllowMergeFieldsInHeader CalloutOptionsAllowMergeFieldsInHeader boolean
Auth Token Endpoint URL AuthTokenEndpointUrl textarea 1000
Auth. Provider ID AuthProviderId reference 18
Created By ID CreatedById reference 18
Created Date CreatedDate datetime
Deleted IsDeleted boolean
GenerateAuthorizationHeader CalloutOptionsGenerateAuthorizationHeader boolean
Identity Type PrincipalType picklist 255
JWT Audience(s) JwtAudience textarea 1000
JWT Formula Subject JwtFormulaSubject string 255
JWT Issuer JwtIssuer string 255
JWT Text Subject JwtTextSubject string 255
JWT Validity Period in Seconds JwtValidityPeriodSeconds int 9
Label MasterLabel string 80
Last Modified By ID LastModifiedById reference 18
Last Modified Date LastModifiedDate datetime
Master Language Language picklist 40
Name DeveloperName string 80
Named Credential ID Id id 18
Namespace Prefix NamespacePrefix string 15
System Modstamp SystemModstamp datetime
URL Endpoint textarea 1000