You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »


The REST API Credentials configuration guidelines can be found here.

The Salesforce Connector's Credentials type must always be specified as “salesforce”.

The Properties specific to the Salesforce Connector's Credentials are described below.


Salesforce Credentials Properties


FieldRequiredDefaultMultipleNotesExample
propertiesYes-NoConfiguration object
usernameYes-NoThe username to be used to connect to the Salesforce server.“john.doe”
passwordYes-NoThe password to be used to connect to the Salesforce server.“myPassword”
Security TokenYes-NoSecurity token for this user, given by Salesforce. mVXAtdO4N2xsl5abcFwzIt22N
Consumer KeyYes-NoThe consumer key of the Salesforce app that will be used to crawl.
Consumer SecretYes-NoThe consumer secret of the Salesforce app that will be used to crawl.

Create example


POST /aspire/_api/credentials
{
  "type": "salesforce",
  "description": "Salesforce Credentials Test",
   "properties": { 
       "username": "john.doe",
        "password": "myPassword",
        "securityToken": "mVXAtdO4N2xsl5z0abcIt22N",
        "consumerKey": "3MABCA2kN3Bn17hur8L6Ts9aRCQXWRajoHwn1Kbmf5gn2O0cr1gGQuWrSjiYI1Ph210GLY9kVrm7zQL74KKsQ",
        "consumerSecret": "00217099ACB341FFB5B3C185703C8626341326EA3006269071DA48DA8E69E5BD" 
     }
}



  • No labels