curl --request POST \
--url https://api.example.com/v1/auth:exchangeToken \
--header 'Content-Type: application/json' \
--data '
{
"token": "<string>",
"email": "<string>"
}
'{
"accessToken": "<string>"
}Exchanges an external OIDC token for a Bytebase access token. Used by CI/CD pipelines with Workload Identity Federation. Permissions required: None (validates via OIDC token)
curl --request POST \
--url https://api.example.com/v1/auth:exchangeToken \
--header 'Content-Type: application/json' \
--data '
{
"token": "<string>",
"email": "<string>"
}
'{
"accessToken": "<string>"
}Was this page helpful?