Skip to main content

Keys

About API Keys

DIAL Core uses API keys to manage access of external applications for resources in DIAL.

  • Refer to Access Control to learn more about access control in DIAL.
  • Refer to Tutorials to learn how to configure access and usage control for API keys.

Keys Main Screen

On the main screen you can see all existing API keys with their details.

Keys Grid

TIP: Use the Columns selector to customize which columns are visible in the grid.

ColumnDefinition
IDA unique key under the Keys section of DIAL Admin.
Display NameA user-friendly name of the Key.
DescriptionOptional notes explaining the key’s purpose, owner/team, or special instructions.
Key generation timeA key's creation timestamp. Useful for auditing and correlating the key's usage with system changes or deployments.
Expiration timeA key's expiration timestamp. Setting expirations enforces regular key rotation.
StatusThe current state of the key.
ProjectThe name of the project the key is associated with.
Updated timeTimestamp of the latest change.
Creation timeDate and time when the key artefact was created in DIAL.
Project contact pointEmail of the responsible person or group.
SecuredIndication if it is secured API key.

Create Keys

Follow these steps to create a new API key:

  1. Click Create to invoke the Create Key modal.

  2. In the modal, specify the following parameters for the new key:

    FieldRequiredDescription & Use Cases
    IDYesA unique key under the Keys section of DIAL Admin. Click Generate to automatically create unique GUID.
    Display NameYesA user-friendly name of the Key.
    DescriptionNoAn optional free-form text.
    Use to document the key’s purpose, owner team, or usage context.
    ProjectYesLogical project or department grouping (e.g. "AnalyticsTeam").
    Helps organize keys and apply cost/usage reporting by project.
    Key valueYesThe actual secret string used for authentication.
    Initially hidden; click 👁️ to reveal.
    Press Generate to have its value automatically generated in GUID format.
    Validity PeriodYesA key's expiration time period. Use to enforce credential rotation and retirement.
  3. Once all required fields are filled, click Create. The dialog closes and the new key configuration screen is opened. A new key entry will appear immediately in the listing once created.

Key Configuration

Click any API key to display the configuration screen.

Keys Rotation

Use Rotation to refresh an existing API key.

  1. Click any API key to invoke the configuration screen
  2. Click Rotate.
  3. Paste or auto-generate a new secret in the Key value field.
  4. Pick the Validity period. The default expiration period is three months.
  5. Click Rotate to apply the changes.

Properties

In the Properties tab, you can view metadata and manage the selected settings for a specific API key.

FieldRequiredDescription & Use Cases
ID-A unique key under the Keys section of DIAL Admin.
Creation Time-Date and time when the key artefact was created in DIAL.
Key Generation Time-Date and time when the actual key value was last modified.
Expiration Time-Date and time when the key is expiring.
Status-Indicates whether the key is valid or not.
Display NameYesA user-friendly identifier of a key.
Use meaningful names to tie keys back to projects, environments, or teams.
DescriptionNoA free-form text.
Use to document the key’s purpose, owner team, or usage context (e.g. "Used by QH Data Ingestion pipeline").
ProjectYesLogical project or department grouping (e.g. "QH", "AnalyticsTeam").
Helps organize keys and apply cost/usage reporting by project.
Project contact pointNoEmail of the responsible person or group.
Key valueYesThe actual secret string used for authentication.
Initially hidden - click 👁️ to reveal.
Press Copy to copy it to clipboard.
SecuredYesToggle to make the key a secured API key.

Roles

API keys must be associated with a specific role in DIAL Core to be valid. Roles give access to specific DIAL resources and can impose usage and cost limits.

In the Roles tab, you can associate the selected API key with existing roles.

ColumnDescription
NameA unique identifier of the role.
DescriptionUser-friendly summary of the Role’s purpose.

Add

To associate one or more roles with the selected API key:

  1. Click + Add (top-right of the Roles Grid).
  2. Select one or more roles in the modal window. Roles are defined in the Access Management → Roles section.
  3. Confirm to insert them into the table.

Remove

Use to stop associating API keys with roles.

  1. Click the actions menu in the role's line.

  2. Choose Remove in the menu.

To delete a role, go to the Access Management → Roles section.

JSON Editor

For advanced scenarios of bulk updates, copy/paste between environments, or tweaking settings not exposed in the form UI—you can switch to the JSON Editor in any key's configuration page.

Switching to the JSON Editor
  1. Navigate to Access Management → Keys, then select the key you want to edit.
  2. Click the JSON Editor toggle (top-right). The UI reveals the raw JSON.

TIP: You can switch between UI and JSON only if there are no unsaved changes.

Delete

Click Delete on the main screen to permanently remove the selected key.

Note: All related entities (applications, models, routes) bound to the deleted API key will fail.