Generate a Tenant API Key

Whenever you see the term API Key across Duck Creek Payments, it will always refer to a combination of Public and Private Keys. Both types of keys are tied to your identity. Within the Payments application, you will find two sets of API Keys: Account API Keys and Tenant API Keys.

This guide will walk you through the process of generating a Tenant API Key.

Before you Start

Before you start following this guide, you should have access to your Tenant.

What is an API Key Used For?

An API Key has multiple uses within the Payments application but it is mainly used for two purposes:

  1. Verifying the identity of the Key bearer when trying to access Payments APIs
  2. Generating an HMAC Token

See this article on key-based cryptography to learn more about how they work.

How to Generate a Tenant API Key?

  1. Login to your Tenant Portal.

  2. Click API Keys under Developers menu from the left-sidebar. The API keys page appears.

  3. Click the button on the top-right corner of the page. The Add API key page appears

  4. Fill the available fields in the page with relevant information.
FieldDescriptionExample
NameEnter a unique name for the API Key.Tenant Admin
RolesSelect one (or more) role(s) that will apply to the Key bearer.

tenant-admin
  1. Click the Save button at the bottom of the page.

  2. A new page appears with your newly created API Key. Copy both, Public and Private, Keys and keep them safe.

  3. Click the Okay button to return back to the API keys page.

Troubleshooting

I can't access my Private Key.

For security reasons, a Private Key is only shown once at the end of API Key generation process. If you have lost access to the Key, request your Tenant Administrator to remove your API Key and create a new one.

How do I change the role assigned to an API Key?

You can change the role assigned to an API Key through API Keys page. Go to the API Keys page and click the Edit button next to the API Key, which you want a new role assigned to.

How do I remove an API Key?

You can delete an API Key through API Keys page. Goto the API Keys page and click the Delete button next to the API Key, which you want removed.

I can't see my API Key in API Keys page.

There could be multiple reasons why you can't see your API Key.

  1. Ensure you have the right access. Only Tenant Administrators can view API Keys.
  2. Try using the pagination control at the bottom of the API Keys page to locate your API Keys.
  3. Use the filter options available on the top of the API Keys page to locate your API Keys.

If you have tried all of these measures and still couldn't locate the Keys, contact your Implementation Manager or Account Manager.

Copyright 2024 Duck Creek Technologies. All Rights Reserved.