POST
/
api
/
v1
/
auth
/
universal-auth
/
identities
/
{identityId}
/
client-secrets

Authorizations

Authorization
string
headerrequired

An access token in Infisical

Path Parameters

identityId
string
required

The ID of the identity to create a client secret for.

Body

application/json
description
string
default:

The description of the client secret.

numUsesLimit
number
default: 0

The maximum number of times that the client secret can be used; a value of 0 implies infinite number of uses.

ttl
number
default: 0

The lifetime for the client secret in seconds.

Response

200 - application/json
clientSecret
string
required
clientSecretData
object
required