Skip to Content
OpenETL
ReferenceAPIAccess Service

List keys

GET
/v1/principals/{principal}/keys

Path Parameters

principal*string

The principal id.

Response Body

OK

application/json
  1. response
keys?array<>
Example Request
curl -X GET 'http://localhost:8080/v1/principals/string/keys'
Example Response
{  "keys": [    {      "name": "string",      "prefix": "string",      "expireTime": "2019-08-24T14:15:22Z",      "createTime": "2019-08-24T14:15:22Z",      "lastUsedTime": "2019-08-24T14:15:22Z"    }  ]}