Skip to main content

Use your Signing Key in Workflows

If you’re replacing an existing signing certificate, update your configuration to use the new Upgraded Signing API instead of the older helper API:

Old endpoint: https://us-central1-viatests.cloudfunctions.net/jwt-kms-signer
New endpoint: https://client.apimetrics.io/api/2/jwt/encode


A one-click upgrade option is available to create the new JWT Signing monitor automatically. After it’s created, you will need to manually update your workflows to use this new monitor (see Step 5 below).


Follow the steps below to complete the update:

  1. Locate the Old Helper API In your workflows - Click Edit and you will see a "Create Updated Call" button.
  2. Click "Create Updated Call" - Clicking this button will automatically generate a new JWT signing API endpoint.
Old Helper API

  1. Review the New Monitor - The new JWT Signing monitor will be automatically generated and appear similar to the example below.
Upgraded JWT SIgning API

  1. Update the kid Parameter - Set the kid parameter to the Key ID of your new certificate. We strongly recommend storing the Key ID in an environment variable to make management easier as shown in the image below.
Environment Variables

  1. Update All Workflows - You must replace all references to your old monitor with the newly created monitor in every workflow where it is used.
Update_Workflows