Search a key
This key management operation allows searching the repository for a key based on the key 'descr' field.
Allowed users
Allowed
Required access scope
keymgmt:search
If the configuration option allow_keysearch is true search is possible without the Authorization
header under the condition of having minimum first 6 bytes of descr
field.
Search for a key(s)
POST
https://my.ence.do/api/keymgmt/search
Search the keys stored in the repository by pattern.
Headers
Name | Type | Description |
---|---|---|
Authorization | String | Bearer JWT_TOKEN |
Content-Type* | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
descr* | String | Pattern to search for. |
offset | Number | Skip |
limit | Number | Limit number of return entries, default is 15 if skipped. |
Response data for successful operation
This operation returns the same data as "List the keys". Check for details here.
Log entries
Event | Result | Source |
---|---|---|
LOG_TYPE_FAILED_SCOPE_CHECK | LOG_RESULT_FAILED | 403 |
Last updated