IntegrationsAPI keys and external access
How to connect integrations without sharing users or passwords.
Open guideAn API key identifies an integration. It should not replace human login or be shared across teams without control.
To report external tests, the key must belong to an active user with permissions on the involved solution, project and build.
If a key is leaked, it is revoked. That is the advantage over sharing personal passwords in CI/CD scripts.
Use API key in an external report
curl -X POST "$TRESEKO_API_URL/external/executions/report" \
-H "Authorization: Bearer $TRESEKO_EXTERNAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"solution_code":"SOL-demo","project_code":"PRJ-demo","component_code":"CMP-web","build_code":"BLD-001","external_run_id":"ci-001","cases":[]}'