Salesforce creates the consumer key when you create a connected app.
About This Page
This page is a navigational feature that can help you find the most important information about this topic from one location. It centralizes access information about the concept that may be found in different parts of the documentation, provides any videos that may be available for this topic, and facilitates search using synonyms. Use the links on this page to find the information that is the most relevant to your needs.
consumer secret, Salesforce, access token, credentials, authentication