Saltar al contenido principal
POST
Issue a Service Credential

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Cuerpo

application/json

The service credential to issue.

source
string
requerido

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

Ejemplo:

"jd-courier"

target
string
requerido

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

Ejemplo:

"plugin-identity"

Respuesta

Created

clientId
string
clientSecret
string

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

createdAt
string
Ejemplo:

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

description
string
Ejemplo:

"Midaz Used By Application X"

id
string
Ejemplo:

"00000000-0000-0000-0000-000000000000"

name
string
Ejemplo:

"Midaz"

partnerId
string
Ejemplo:

"00000000-0000-0000-0000-000000000000"