Skip to main content

Auth token generation

Overview

This guide provides detailed instructions for auth token generation, focusing on a single comprehensive action: creating an authentication token for API access.

Benefits

Auth token generation is essential for streamlined DNS management, offering key benefits such as enhanced access control and auditing capabilities. Enabling users to define who can access and modify DNS records safeguards against unauthorized changes and ensures comprehensive tracking of access and modifications. With DigiCert®​​ DNS, users can mitigate risks associated with DNS spoofing, token expiration, and data integrity concerns. The centralized management of tokens increases transparency and accountability, empowering organizations to provide secure access for DNS records and users at scale, ultimately strengthening the security and efficiency of DNS operations.

Procedure

Hinweis

This procedure uses the API key generated in an earlier procedure to request an authentication token in Postman. The token is valid for one hour and must be refreshed before it expires. If the token is not regenerated in time, API endpoints cannot be tested. If the user no longer has access to their API key when the token expires, a new API key must be generated to obtain a new token.

To test this function, call this API endpoint: POST /auth/login

  1. Log in to Postman.

  2. In the My Workspace sidebar, navigate to DigiCert DNS > auth > login > POST /auth/login:

    1. Go to the Authorization tab, and in the Token field, paste your API key.

    2. Click Send.

    3. In the response window, copy the authentication token.

  3. In the My Workspace sidebar, select DigiCert DNS:

    1. Go to the Auth tab, and paste your authentication token into the Token field.

    2. Under the Add variable to heading, select Collection.