IBM Food Trust account details

To establish a connection to IBM® Food Trust, you must add an account that defines the account details to connect with. You can define these details by creating a configuration object in the App Connect Dashboard, the Red Hat® OpenShift® web console or CLI, or the Kubernetes CLI.

Account parameters

You can define one or more accounts for IBM Food Trust.

For each account that you require, you can specify a new set of account details in any of the following ways:

  • If you are using the App Connect Dashboard, either complete the Account details fields in the Create configuration panel, or specify the account parameters in an accounts.yaml file before importing it into the Create configuration panel. For more information, see Accounts type.
  • If you are using the Red Hat OpenShift web console or CLI, or the Kubernetes CLI, specify the account parameters in an accounts.yaml file, and then use this configuration file to create a configuration object. For more information, see Creating the file for a configuration object of type Accounts.

The set of required and optional Account fields or parameters are listed in the following table.

To obtain the values for these credentials, work with the IBM Food Trust Account Administrator of your organization. For more information, see the IBM Food Trust wiki.

Field Parameter Values Condition Description

Account name

name

User defined

Required

The name of an IBM Food Trust account that is used in the exported flow.

API key

apiKey

User defined

Required

The API key that was used to generate an access token for App Connect.

Organization ID

organizationId

User defined

Required

The organization ID that was used to generate an onboarding token for making API calls to IBM Food Trust.

URL

url

User defined

Required

The base URL for the IBM Food Trust Connector API.

Example

Remember: An accounts.yaml file that defines one or more accounts must always begin with the following line:
accounts:

  ift:
    - name: Account 1
      credentials:
        apiKey: 2aBCDefghiJKlmn37oP0qrSTUvwxZmUUpa-2E4AGjt1
        organizationId: 9aBCDefgh-20aa-3bbb-4abc-1234567abcde09
      endpoint:
        url: 'https://sandbox.food.ibm.com/ift/api/connector'