POST Security Identities
The POST /Security/Identities operation creates a new security identity in Keyfactor Command. For Active Directory, use the GET Security Identities Lookup operation before creating the new identity to confirm that the identity you plan to create is valid. On success, the operation returns HTTP 200 OK with the details of the new security identity.
The user must hold a role containing this permission in the Global Permission Set (see Permission Sets).
Table 738: POST Security Identities Input Parameters
| Name | In | Description |
|---|---|---|
| AccountName | Body | Required. A string containing the account name for the security identity. For Active Directory user and groups, this will be in the form DOMAIN\\user or group name. For example: KEYEXAMPLE\\PKI Administrators |
Table 739: POST Security Identities Response Data
| Name | Description |
|---|---|
| Id | An integer containing the Keyfactor Command identifier for the security identity. |
| AccountName | A string containing the account name for the security identity. For Active Directory user and groups, this will be in the form DOMAIN\\user or group name. For example: KEYEXAMPLE\\PKI Administrators |
| IdentityType | A string indicating the type of identity—User or Group. |
| Roles |
An array of objects containing information about the security roles assigned to the security identity. For new security identities, this will be blank. |
| Valid | A Boolean that indicates whether the security identity's audit XML is valid (True or False). A security identity may become invalid if Keyfactor Command determines that it appears to have been tampered with. |
Was this page helpful? Provide Feedback