Skip to main content

Create your API key

You can generate an API key to securely authenticate DigiCert API requests. Your API key will have the same user roles as your user profile in DigiCert​​®​​ account. The end date is in UTC. For example, if you select 12 August 2023 as your end date, your API token expires on 12 August 2023 at 23:59:59 UTC.

Creating an API key may be useful to you if:

  • You prefer key-based authentication for simplicity and ease of integration.

  • Your application does not support certificate-based authentication.

  • You need a quick way to authenticate API requests without managing certificates.

  • The API you are using requires both an API key and a client authentication certificate for added security.

Note

Include the API key in the request header to authenticate API calls.

Before you begin

It may be useful to consider the following before you begin:

  • Store your API key securely, it cannot be retrieved after generation.

  • You can optionally set an expiration date for the API key:

    • If set, the key will expire on the chosen date and cannot be updated.

    • If no expiration is set, the key remains valid until manually revoked.

  • Avoid exposing your API key in public repositories or shared codebases.

To create your API key

  1. In the top-right corner, select the profile icon > View my user details.

  2. Select Access credentials.

  3. Select Create API key.

  4. On the Create API key page, add the following information:

  5. In the Name field, enter a name for the API token. The name must be unique and can contain letters, numbers, spaces, dashes, and underscores.

  6. Optional: In the End date field, select a date from the calendar.

  7. On the API key created page, select Copy.

  8. Store your API key in a secure location

    Important

    The API token appears once. You can't access it after you select Close. If you ever lose the API token, you must delete the lost token and create a new one.

  9. Select Close.