Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

An access token in Infisical

Path Parameters

identityId
string
required

The ID of the machine 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.

Required range: x >= 0
ttl
number
default:0

The lifetime for the client secret in seconds.

Required range: 0 <= x <= 315360000

Response

Default Response

clientSecret
string
required
clientSecretData
object
required