Artifacts
All pages
Docs · SetupMarkdown

Connecting clouds

Connect AWS, GCP or Azure so the app can create buckets there and sign URLs for them. No long-lived cloud key leaves your account.

How it works

The app is an OpenID Connect issuer. It publishes /.well-known/openid-configuration and /.well-known/jwks.json, and signs short JWTs whose subject is one connection, org_…:c…. Your cloud trusts that issuer for that subject and swaps the JWT for short-lived credentials. To revoke, delete the role, workload identity pool or federated credential.

Connect

  1. Connections → Connect AWS, GCP or Azure; name the connection.
  2. Run the setup script the app shows, as an administrator, with the cloud's CLI. It has the subject, issuer and audience filled in.
  3. Paste back the script's last line, key=value identifiers, or fill in the fields.
  4. The app exchanges a token to test it and marks the connection active. If the trust is later removed, it shows broken with the error.

Then Locations → Create a bucket: pick the connection and a region.

CloudScript createsGrantsApp signs with
AWSIAM OIDC provider for the issuer; role trusting the subject, max session 12 hCreate o41art-* buckets and set their lifecycle; object and multipart operations in themTemporary keys from AssumeRoleWithWebIdentity, cached until near expiry
GCPWorkload identity pool and provider for the issuer; a service account the subject may impersonateCreate buckets; storage admin on o41art-* buckets only; sign as the service accountIAM signBlob as the service account with the federated token: V4 URLs, no key created
AzureUser-assigned managed identity with a federated credential for the issuer and subjectStorage Account Contributor and Storage Blob Data Contributor on a resource group you nameA user delegation key per storage account, refreshed daily: user delegation SAS
CloudIdentifiers pasted back
AWSroleArn
GCPprojectId, projectNumber, poolId, providerId, serviceAccountEmail
AzuretenantId, clientId, subscriptionId, resourceGroup

Created buckets

  • Named o41art-<random>. On Azure: storage account o41art<random>, container artifacts.
  • Private. Unfinished multipart uploads are aborted after 2 days; Azure drops uncommitted blocks after 7 days on its own.
  • Never deleted by the app. Retire the location instead: no new writes, versions stay readable.
  • If bucket creation or the first test write fails, the location stays unfinished: it takes no writes and can be removed with locations rm. A bucket already made stays in your account.

Can't set up federation on AWS or GCP? Add the bucket as an S3 endpoint with a key. Azure Blob has no S3 API, so Azure needs federation.