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 set to true, then the search is possible without the Authorization header under the condition of having the minimum first 6 bytes of descr field provided.

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 offset entries.

limit

Number

Limit number of return entries, default is 15 if skipped.

Response status code

Response data for successful operation

This operation returns the same data as the "List the keys" endpoint. Check for details here.

Log entries

Event
Result
Source

LOG_TYPE_FAILED_SCOPE_CHECK

LOG_RESULT_FAILED

403

Last updated