id_tokens keyword. You exchange this token for a C1 access token using a curl command in your pipeline.
These examples use
conductor.one. If your organization is on the EU data residency instance, substitute c1eu.ai in URLs, client IDs, and hostnames.Prerequisites
- A service principal with a GitLab CI federation trust. See set up federation if you haven’t created one yet. Use the GitLab CI/CD preset.
- The trust’s client ID (for example
bright-eagle-55012@yourcompany.conductor.one/wfe)
Configure the pipeline
Addid_tokens to your job to request a GitLab OIDC token, then exchange it for a C1 access token:
id_tokens block tells GitLab to generate a signed JWT with your C1 tenant domain as the audience. The token is available as the C1_TOKEN environment variable within the job.