Skip to main content
POST
Issue a Service Credential

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Body

application/json

The service credential to issue.

source
string
required

The Lerian service that signs in with this credential; it becomes the sourceService claim. Must match GET /v1/applications/available.

Example:

"jd-courier"

target
string
required

The service this credential calls. Must match GET /v1/applications/available.

Example:

"plugin-identity"

Response

Created

clientId
string
clientSecret
string

Returned only by the create call. Absent from every Identity API read.

createdAt
string
Example:

"2021-09-01T00:00:00Z"

description
string
Example:

"Midaz Used By Application X"

id
string
Example:

"00000000-0000-0000-0000-000000000000"

name
string
Example:

"Midaz"

partnerId
string
Example:

"00000000-0000-0000-0000-000000000000"