--- title: Configure an Amazon Signature based Custom Algorithm description: Generate the Amazon Signature based data needed to authenticate to a web service by running script. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-security/connections-and-credentials/configure-an-amazon-signature-based-custom-algorithm.html release: australia product: Connections and Credentials classification: connections-and-credentials topic_type: task last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [Authentication Algorithms, Connections and Credentials, Access Management] --- # Configure an Amazon Signature based Custom Algorithm Generate the Amazon Signature based data needed to authenticate to a web service by running script. ## Before you begin - JavaScript knowledge - REST knowledge - Target web service API knowledge - Connection, credential, and alias knowledge - Role required: Developer ## About this task Use a connection and credential alias and Amazon Signature Version 4 based algorithm for authentication. ## Procedure 1. Navigate to **All** > **Credentials & Connections** > **Authentication Algorithms**, and click **New**. 2. On the form, fill in the fields. The database selection in the **Format** field determines which fields are available.
| Field | Description |
|---|---|
| Name | Unique name of this algorithm. |
| Algorithm | Outbound request type. Select **Amazon Signature Version 4**. |
| Description | Description of what your algorithm does. |
| Application | Scope that your application runs in. |
| Instance Authentication Script | Script that you select from the Script Includes table. In case of **Amazon Signature Version 4** algorithm, choose **RequestAuthAWSV4Signer**. The scripts available are as follows:- RequestAuthAWSV4Signer - RequestAuthInternal - RequestAuthSampleCustomSigner - RequestAuthTwitterSigner **Note:** To know more about the script click the information icon next to the field. The details of the script such as Name, API Name, Application, Accessible from, Script, and so on is displayed. |
| MID Authentication Script | Script that you select from the MID Server Script Includes \[Discovery view\] table. The scripts available are as follows:- RequestAuthAWSV4Signer - RequestAuthInternal - RequestAuthSampleCustomSigner - RequestAuthTwitterSigner |