Skip to main content

Connections

A connection is a project-scoped set of credentials Solti uses on your behalf to:

  • Mount storage volumes — AWS S3, Google Cloud Storage, Azure Blob Storage, or Cloudflare R2 buckets (see Storage Volumes).
  • Pull container images — from public and private registries, including Docker Hub, generic registries, and GHCR.
  • Provision compute — where your jobs run when the project's routing mode is BYOC (see Compute Routing; projects without connections run on Solti-managed VMs instead).

Connections belong to a project. Everything submitted in the project (jobs, cronjobs, volume mounts) resolves credentials automatically from the project's matching connection — no credentials in workload specs.

You manage connections from the dashboard (Project → Connections) or the CLI (solti connection list / create / delete, admin only — see the CLI manual).

Discovered registries can be invisible when empty

The dashboard's Resources page lists what Solti discovers across your connections — container registries (GHCR packages, ACR/ECR repositories) and storage buckets (R2, S3, GCS, Azure). A registry with no content — an empty package, bucket, or repository — yields no discoverable entries and can be absent from the listing. An empty Resources listing therefore does not necessarily mean a broken connection; verify the connection itself under Project → Connections.

Authentication methods at a glance​

MethodSupported forHow it works
Workload Identity Federation (WIF) — recommendedAWS, GCP, AzureYou register Solti as an OIDC trust in your cloud console once. No secrets are ever stored by Solti.
GitHub AppGitHub (GHCR image pulls)Install the Solti GitHub App; Solti mints short-lived installation tokens server-side.
Static credentials (legacy, supported)AWS, GCP, Azure, R2, Docker registries, GitHubYou paste credentials; they are stored encrypted at rest.

With WIF you never paste a cloud secret into Solti. Instead, you register Solti's OIDC issuer — https://api.solti.run — as a trusted identity provider in your own cloud account, once per connection. At dispatch time:

  1. Solti mints a short-lived, job-scoped OIDC token (10-minute TTL) whose subject is your organization/project (org:<org_id>:project:<project_id>) and which carries the job ID.
  2. The credential agent running on the job VM exchanges that token for temporary cloud credentials (AWS STS, GCP token exchange, Azure AD).
  3. The agent refreshes automatically before expiry through the authenticated job callback channel — long-running jobs never touch a static secret.

Security model:

  • No stored cloud secrets. A WIF connection carries only non-secret trust configuration (role ARN, workload identity pool/provider IDs, app client IDs).
  • Job-scoped tokens. Every token is bound to one job: connection-specific audience, organization/project subject, job ID claim, and a unique token ID (jti) recorded on the job for audit. Re-use outside its job is structurally impossible (audience + 10-minute TTL).
  • Revocable by construction. Remove the trust registration (or the connection) and no further tokens can be exchanged.
  • Storage mounts work under WIF on all three clouds. Jobs using a WIF connection can mount S3, GCS, and Azure Blob volumes directly — the mount driver picks up the federated session and keeps it fresh for long-running jobs (AWS S3 via mount-s3 with automatic credential re-exchange; see Storage Volumes).

In the dashboard (Project → Connections → Create Connection), pick Workload Identity (recommended) — the dialog shows a collapsible trust-registration guide per cloud with copy-paste values, so you can follow the checklist below without leaving the page:

WIF method selector in the connection creator

AWS trust-registration guide in the connection creator

Choose your cloud below and follow the checklist. The steps reproduce the same trust-registration template Solti uses for its own platform accounts — but everything is created in your cloud account, under your control.

AWS (S3) — guided checklist​

1. Create the IAM OIDC identity provider (IAM → Identity providers → Add provider):

  • Provider type: OpenID Connect
  • Provider URL: https://api.solti.run
  • Audience: the role ARN you will create in step 2 (Solti minted tokens carry the role ARN as their aud, so the provider must accept it as a client ID — you can add the ARN now and reference it below; STS validates the token's aud against this client-ID list and the role trust policy)

AWS retrieves the provider thumbprint automatically for publicly trusted certificates — accept the suggested value.

2. Create the IAM role for web identity, pointing at the provider above, and attach the least-privilege policies your jobs need (e.g. S3 read/write on your buckets). Trust policy (the aud condition must equal the role's own ARN — it is the audience Solti mints into every token):

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Federated": "arn:aws:iam::<YOUR_AWS_ACCOUNT_ID>:oidc-provider/api.solti.run"
},
"Action": "sts:AssumeRoleWithWebIdentity",
"Condition": {
"StringEquals": {
"api.solti.run:aud": "arn:aws:iam::<YOUR_AWS_ACCOUNT_ID>:role/<YOUR_ROLE_NAME>",
"api.solti.run:sub": "org:YOUR_ORG_ID:project:YOUR_PROJECT_ID"
}
}
}
]
}

The optional sub condition pins the role to one Solti project (recommended — one role per connection, least privilege).

3. Create the connection in Solti with type aws and the WIF method, supplying only the role ARN from step 2. No access key or secret key is entered anywhere.

4. Verify by submitting a job that mounts an S3 bucket and lists/reads an object.

GCP (Cloud Storage) — guided checklist​

1. Create a workload identity pool:

gcloud iam workload-identity-pools create solti-wif-pool \
--location=global \
--display-name="Solti WIF pool"

2. Create the OIDC provider in the pool with the Solti issuer and attribute mapping:

gcloud iam workload-identity-pools providers create-oidc solti-api-provider \
--location=global \
--workload-identity-pool=solti-wif-pool \
--issuer-uri="https://api.solti.run" \
--attribute-mapping="google.subject=assertion.sub,attribute.job_id=assertion.solti_job_id,attribute.org=assertion.sub"

The mapping mirrors the token claims: the subject is org:<org_id>:project:<project_id>, and attribute.job_id carries the Solti job ID.

3. Let pool identities impersonate a service account your jobs should run as (grant it Storage Object access on your buckets). Bind roles/iam.workloadIdentityUser to the pool principals from your project only:

gcloud iam service-accounts add-iam-policy-binding \
SA_NAME@YOUR_GCP_PROJECT.iam.gserviceaccount.com \
--role="roles/iam.workloadIdentityUser" \
--member="principalSet://iam.googleapis.com/projects/YOUR_GCP_PROJECT_NUMBER/locations/global/workloadIdentityPools/solti-wif-pool/attribute.org/org:YOUR_ORG_ID:project:YOUR_PROJECT_ID"

4. Create the connection in Solti with type gcp and the WIF method, supplying the pool/provider resource names and the service account. No service-account keyfile is uploaded.

Azure (Blob Storage) — guided checklist​

1. Create (or pick) an app registration for Solti access, and note its client ID. Give it the data-plane roles your jobs need (e.g. Storage Blob Data Reader/Contributor on your storage accounts).

2. Add a federated credential (App registration → Certificates & secrets → Federated credentials → Add credential):

  • Federated credential scenario: Other issuer
  • Issuer: https://api.solti.run
  • Subject: org:YOUR_ORG_ID:project:YOUR_PROJECT_ID
  • Audience: api://YOUR_APP_CLIENT_ID
  • Name: something like solti-wif-my-project

The subject is project-scoped, so add one federated credential per Solti project connection.

3. Create the connection in Solti with type azure and the WIF method, supplying tenant ID, subscription ID, and the app client ID. No client secret is entered.


GitHub App (GHCR image pulls)​

For pulling private images from GHCR, Solti runs its own GitHub App:

  1. Start the connection flow in the dashboard (Project → Connections → Add connection → GitHub) — you are sent to the Solti GitHub App install page on github.com.
  2. Install the app on the account or organization that owns the container packages (permissions: Packages and Contents, read-only).
  3. That's it. Solti mints short-lived GitHub App installation tokens server-side for each image pull — no personal access tokens or GITHUB_TOKEN secrets are stored or pasted.

R2 and generic Docker registries (static credentials)​

Cloudflare R2 and generic Docker registries have no federation standard, so these connections use static credentials:

  • R2: create an API token scoped to the single bucket you need (account_id + access key ID + secret access key).
  • Docker registry: use a registry account whose password is scoped to pull-only where the registry supports it (registry_url, username, password, optional port).

Static credentials are stored encrypted at rest by Solti, but they are long-lived secrets by nature:

  • Scope each token to the minimum bucket/registry it needs.
  • Rotate them on a schedule; update the connection (credentials are re-encrypted on update).

Static cloud credentials (legacy, supported)​

You can still connect AWS, GCP, and Azure with classic credentials — an IAM access key pair, a GCP service-account keyfile, or an Azure client secret. These are stored Fernet-encrypted at rest and work exactly as before; existing connections are unaffected.

WIF is nonetheless recommended for AWS, GCP, and Azure: nothing secret is ever stored, credentials are per-job and 10-minute-scoped, and rotation/revocation happens in your own cloud console instead of in Solti. Use static credentials when a cloud does not meet the WIF prerequisites (for example, you cannot create IAM OIDC providers or workload identity pools).