Skip to main content
POST
/
authenticate
/
service-account
Authenticate a service account
curl --request POST \
  --url https://auth.platform.arb.inc/authenticate/service-account \
  --header 'Content-Type: application/json' \
  --data '
{
  "id_token": "eyJhbGciOiJSUzI1NiIsImtpZCI6IjJkOWE..."
}
'
{
  "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "valid_for_seconds": 3600
}

Body

application/json
id_token
string
required

GCP service account ID token

Example:

"eyJhbGciOiJSUzI1NiIsImtpZCI6IjJkOWE..."

Response

Successfully authenticated service account

access_token
string

JWT access token for authenticated service requests

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

valid_for_seconds
integer

Number of seconds the access token is valid

Example:

3600