Universal Auth

Create Universal Auth Client Secret for machine identity

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

Request

  • Base URL
    https://us.infisical.com
  • URL
    https://us.infisical.com/api/v1/auth/universal-auth/identities/{identityId}/client-secrets
  • Auth
    HTTP bearer

Path parameters

identityIdstring required

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

Request body

descriptionstring

The description of the client secret.

numUsesLimitnumber

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

ttlnumber

The lifetime for the client secret in seconds.

Response

Default Response

clientSecretstring required

Changes

No recorded changes to this operation across all 65 revisions of this API.