Users

A user can authenticate via the UI or to the API (See REST API)

A user account can be a member of one or more teams and, via the team, has the permissions of the team’s Roles and access to the team’s Permitted Certificate Issuers

The management of Active Directory users remains with Active Directory - you cannot edit those accounts here, although when an AD user logs in, their account will show up in the list of users

Users may also be sent emails on certificate issuance and reminders when certificates are nearing expiry


Creating a User Account

As an administrator (or a user whose role permits managing users e.g. User Manager), select Users from the menu

Click Add New User

New User

Enter a Username and an Email Address

For the password, you can choose a password for the user or you can click Generate random password and email. This will generate a strong password and email to the email address configured. By default, the user will also have to change this password on first use

See Email Settings to edit the message that is sent to the user

You can also just set a password manually and also have the option at any time of selecting the Force change at next login

Choose the team(s) to add the user to in the Add a team… box. Type part of a name to search the list, then click it (or use the arrow keys and Enter) to add it. Click the x next to a name to remove it. What the user can do is determined by the Roles of these teams. Note that if no team is chosen, the user will be able to login but will be unable to request any certificates as Certificate Issuer permissions are managed at the team level

Click Add

Note you cannot add Active Directory accounts - they are still managed via Active Directory and what they can access in the system is defined by the group mappings made to Teams


Editing and Deleting Users

Select Users from the menu and click on the user account you wish to update

image-20210222211340396

Click Edit or Delete as required

Note that when editing a user, if you do not enter a new password the existing password will remain set. Thus, you may edit the email address, team membership and whether the account is enabled or not without having to reset the password

Edit User

Editing a user also displays the last login time and IP address

If the account is an Active Directory you will be unable to make any changes as all details are managed by Active Directory

Can Bypass Interruptible Workflows

This option allows the user to bypass interruptible workflows when calling the API. It is kept for compatibility with previous versions. From version 1.18 it is preferable to allow this in a role (see Additional Permissions) so it applies to all members of a team. A user can bypass interruptible workflows if this option is set on their account or if any of their roles allow it

Users Managed by non-Administrators

Users with a role that permits managing users (e.g. User Manager) but who are not Global Admins cannot:

  • Change their own account (other than via their own profile e.g. changing their password)
  • Add users to, or remove users from, teams they are a member of or teams that have the Global Admin role
  • Update, reset the password of, disable, delete or create API tokens for Global Admin users

There must always be at least one enabled Global Admin. The last enabled Global Admin cannot be disabled or deleted

See Identity & Access for more details


API Tokens

Note: Only Administrators (or users whose role permits creating API tokens e.g. User Manager) can create tokens. However, users are able to revoke their own tokens.

API tokens can be issued from user accounts. These can then be supplied to applications that need to call the REST API and remove the need to first login with a username and password, as the token is simply supplied in the Authorization header element

To generate a new token, edit an existing user

Under API Token, set the validity required for the token then click Generate Token

image-20250606110241013

A token will be generated. Click the token to copy and save the value

Note: This value will only be displayed once and cannot be retrieved later if lost

This value must then be included in the Authorization header when making REST API calls

Note, it is linked with the user account so has the same permissions (the roles and Certificate Issuers of the user’s teams) and restrictions (IP Addresses)

API tokens are also how another certdog, acting as a Registration Authority, logs in to this certdog. The token is entered as the API Key of a Certdog Issuer on that certdog. See Create an Upstream Certdog Issuer

Because a token allows the holder to act as the user, users that are not Global Admins cannot create tokens for Global Admin users

If a token is no longer required or has been compromised, it may be revoked

To do this, simply select the token from the list of Current Tokens and click Revoke. Click Yes to confirm revocation.

Users: Managing own Tokens

Standard users are not able to generate their own API tokens. However, they can revoke existing tokens.

image-20250606114930308