POST
/
api
/
v1
/
auth
/
universal-auth
/
login
curl --request POST \
  --url https://app.infisical.com/api/v1/auth/universal-auth/login \
  --header 'Content-Type: application/json' \
  --data '{
  "clientId": "<string>",
  "clientSecret": "<string>"
}'
{
  "accessToken": "<string>",
  "expiresIn": 123,
  "accessTokenMaxTTL": 123,
  "tokenType": "Bearer"
}

Body

application/json
clientId
string
required

Your Machine Identity Client ID.

clientSecret
string
required

Your Machine Identity Client Secret.

Response

200 - application/json
Default Response
accessToken
string
required
expiresIn
number
required
accessTokenMaxTTL
number
required
tokenType
enum<string>
required
Available options:
Bearer