Skip to main content

Add user API keys

PDS allows you to add user API keys, which are implemented using JSON Web Tokens (JWTs). You can use user API keys to authenticate and authorize API calls to PDS and automate your work with PDS. You can call the PDS API directly, or you can use the PDS Go client or your own client.

For the list of APIs available in PDS, see API reference.

Prerequisites

  • PDS user privileges

Procedure

The following topics explain how you can add, disable, and delete user API keys.

Add user API keys

The permissions of user API keys match those of the user who adds them. There is no need to directly manage the privileges of user API keys.

To add user API keys:

  1. Select the PDS Account icon → Profile:

    Profile button

  2. In the Profile page → User API Keys section, select New Key.

    Profile page New Key button

  3. In the New Key window:

    • Name: enter a unique name for your user API key.

    • Expiration: from the dropdown, select a time period after which the user API key becomes invalid. Note that you cannot modify the expiration date after adding a user API key.

  4. Select Add Key.

note

Currently, PDS supports a maximum of 10 user API keys.

The Profile page lists the user API keys that you added. Select the Copy to clipboard button in the KEY column to copy the key to your clipboard:

Copy user API key to clipboard icon

User API keys have exactly the same permissions as the user who added them. This allows users to automate the same tasks that they can perform through the UI.

Disable user API keys

You can disable a user API key that you added, if there is a security concern or the key is no longer in use.

note

You can disable only Active user API keys.

To disable a user API key, select the vertical ellipsis button in the active user API key that you want to disable, and then select Disable:

Disable user API key option

The status of the user API key changes to inactive.

If you want to re-enable a disabled user API key, then select Re-Enable from the vertical ellipsis button:

Re-Enable user API key option

The status of the re-enabled user API key changes to Active.

Delete inactive or expired user API keys

To delete an inactive or expired user API key:

  1. In the inactive or expired user API key that you want to delete, select the vertical ellipsis button and then select Delete:

    Delete user API key option

  2. In the Delete Key window, enter the name of the same user API key in the text box.

  3. Select Delete Permanently.

Delete an active user API key:

You must first disable an active user API key, and then delete it.

note

You cannot undo the deletion process.

Was this page helpful?