cURL
curl --request POST \ --url https://us.infisical.com/api/v1/auth/universal-auth/login \ --header 'Content-Type: application/json' \ --data ' { "clientId": "<string>", "clientSecret": "<string>", "subOrganizationName": "<string>" } '
{ "accessToken": "<string>", "expiresIn": 123, "accessTokenMaxTTL": 123, "tokenType": "Bearer" }
Login with Universal Auth for machine identity
Your Machine Identity Client ID.
Your Machine Identity Client Secret.
sub-organization name to scope the token to
1 - 64
Default Response
Bearer
Was this page helpful?