Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


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.


Easy Heading Free
navigationTitleOn this Page
navigationExpandOptionexpand-all-by-default

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


Code Block
themeRDark
titlePOST /aspire/_api/credentials
{
  "type": "salesforce",
  "description": "Salesforce Credentials Test",
   "properties": { 
      "user":"encrypted:06E9115E9E44BAE9012F3496C54B3F9AC924475E34DDAD3FF8F06009BFA6797877242A39ADCFF29E3DB6274BD0AAA38E",
      "password":"encrypted:E960ABB4D97C2D8BA344EB672A41359860EA6E2397BCBF6AD661E954CEF474C1",
      "securityToken":"encrypted:0C13827AF008E89AD185827358A27D8174329EF56C976E67138087CCA65E1883E547126994CAA1370DEC7BA29D502378",
      "consumerKey":"encrypted:6CC39EC0580DD7E97C23AD6CD795BA065A6E0ECCF4FD1F160C5B9A5468215017C1CCACB777C2FD6A99D46CD74EE2D16A0398251D665815272D298D450A026A712AAE",         "consumerSecret":"encrypted:16F8359507D49F130B7E2B1D1700D3603610B258FDD075E87B71ADD698EFB702CA9FE2E5B858FBDADDBB6EF55C967DE8F46259C4232331A747C7758921C6C3A9A4984B952"
      }
}