curl --request POST \
--url https://us.infisical.com/api/v1/auth/kubernetes-auth/login \
--header 'Content-Type: application/json' \
--data '{
"identityId": "<string>",
"jwt": "<string>"
}'
{
"accessToken": "<string>",
"expiresIn": 123,
"accessTokenMaxTTL": 123,
"tokenType": "Bearer"
}
Login with Kubernetes Auth
curl --request POST \
--url https://us.infisical.com/api/v1/auth/kubernetes-auth/login \
--header 'Content-Type: application/json' \
--data '{
"identityId": "<string>",
"jwt": "<string>"
}'
{
"accessToken": "<string>",
"expiresIn": 123,
"accessTokenMaxTTL": 123,
"tokenType": "Bearer"
}
Default Response
The response is of type object
.
Was this page helpful?