Authentication Modes

This topic describes the different Authentication Modes that are available when configuring Service Instances in K2. When you configure a Service Instance of a Service Type, the Authentication Mode setting determines what credentials K2 will pass to the target system (during the initial "discovery" phase to discover the available Service Objects in the target system, as well as at runtime when SmartObjects communicate with the target system).

  • Not all Authentication Modes are supported for all Service Types. Refer to the Service Type documentation for the particular Service Type you wish to configure to see what known Authentication Mode restrictions may exist.
  • When a SmartObject is called by a workflow and the Service Instance is configured to use "Impersonate", "OAuth" or "SSO", K2 will use the context of the K2 Service Account to determine the credentials to pass to the target system. It is possible to override this behavior by specifying alternate credentials for the step of the workflow that executes the SmartObject method.

When connecting to on-premises systems from your K2 Cloud environment, you must use static credentials. See KB002939: Connecting to On-Premises Data from K2 Cloud for more information about how to do this for supported systems.