Credential Manager

Note: Update can only be used if there is an existing credential (of the provided type).

The Credential Manager provisions and manages credentials used for ActivID CMS authentication. The CCM API, when used in a remote client, requires the appropriate authentication and authorization for it to be authorized to exercise the corresponding functionality.

Retrieving Credentials

To retrieve the Initial Password, use getCredentials. (This method also returns the initial PIN and PIN policy information.)

To retrieve the Initial PIN, use getCredentials. (This method also returns initial password and PIN policy information.)

To retrieve the base 64-encoded PKI certificate, use getCredentials.

Security question answers cannot be retrieved. The questions can be retrieved by using the following:

  • getProfileSyntax

  • getProfileDynamicEntries

Provisioning Credentials

To update an existing initial password, use the following guidelines:

  • To add an initial password when a credential does not yet exist, use importCredentials.

  • To add security question answers to an existing credential, use updateCredential. This method adds the answers if provided or, if none are provided, it removes them. The number of answers provided, plus the number of existing answers must be equal to or greater than the amount configured in minAnswers.

  • To add security question answers when a credential does not exist, use importCredentials.

Deleting Credentials

  • To delete the initial password for the device, use deleteCredential.

  • To delete security question answers, use deleteCredential.

However, be aware that when calling this method, the answers the user entered are deleted. The user can no longer authenticate using the same answers as were stored in the system. In addition, when this method is called, the number of failed authentications is set to zero (0).

Managing Credentials

This section provides the following tips for finding additional information related to managing credential operations:

Credential Manager Classes

This section introduces and briefly describes the classes used in the Credential Manager.

Credential Manager Methods

This section introduces and briefly describes the methods used in the Credential Manager.

Note: For related error codes, see Maximum Session Error Codes. For specific error codes, see Communication and Connectivity Error Codes.