Authentication Algorithms

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 1 minute to read
  • Verify the identity of the sender using Authentication Algorithms

    Allow integration steps to authenticate with web services that require complex or non-standard connection or credential mechanisms. Associate authentication algorithms to credential and connection aliases to reduce or eliminate the need to manually configure integration steps.

    You can use an authentication algorithm to generate custom authentication data for your integration steps. Integration steps can use this dynamic data to create any custom artifacts necessary to authenticate with the target web service. For example, a REST step could create an authentication header, query parameters, or a token.

    Authentication algorithms support the following steps:

    • Get Connection Info Step
    • REST Step
    • SOAP Step

    For more information, see Integration steps

    Authentication algorithm types

    • Amazon Signature Version 4: This is a pre-built authentication algorithm to connect to Amazon Web Services.
    • Custom Authentication: This is a template that developers can use to create their own authentication algorithms.

    To know more, on how to configure the authentication algorithm, see Configure an authentication algorithm.

    Scripts

    Instance Authentication Scripts are on instance scripts part of sys_script_include table.

    Table 1. Instance Authentication Scripts
    RequestAuthInternal Read only script on instance, which supports generating AWS V4 signature or custom authentication that is sent with outbound request.
    RequestAuthAWSV4Signer Script extending RequestAuthInternal to implement signer to generate AWS V4 signature.
    RequestAuthTwitterSigner Script extending RequestAuthInternal to implement signer to generate Twitter signature using OAuth 1.0a.
    RequestAuthSampleCustomSigner Sample script extending RequestAuthInternal to understand how to write custom signer on instance.

    MID Authentication Scripts are on MID scripts part of ecc_agent_script_include table.

    Table 2. MID Authentication Scripts
    RequestAuthInternal Read only script on MID, which supports generating AWS V4 signature or custom authentication that is sent with outbound request.
    RequestAuthAWSV4MIDSigner Script extending RequestAuthInternal to implement signer to generate AWS V4 signature.
    RequestAuthTwitterSigner Script extending RequestAuthInternal to implement signer to generate Twitter signature using OAuth 1.0a.
    RequestAuthSampleMidCustomSigner Sample script extending RequestAuthInternal to understand how to write custom signer on MID.

    JavaScript API's

    Following are the JavaScript API's for authentication algorithm.