Skip to content

Providers ​

cloudsesame checks clouds through their own CLIs. It only reads state and tests tokens. It never logs in on its own: logins happen when you choose Log in, or with --yes.

ProviderChecksUse it for
gcloudgcloud login, Application Default Credentials, project, quota project, IAM permissionsGoogle Cloud SDKs, gcloud, OpenTofu/Terraform on GCP
awsOne AWS profile per target, and its accountAWS SDKs, the aws CLI, OpenTofu/Terraform on AWS
azaz login, tenant, subscription, RBAC permissionsAzure SDKs, az, OpenTofu/Terraform on Azure
wranglerwrangler's login or token, and its accountCloudflare Workers (wrangler deploy, wrangler dev)
cloudflareCloudflare's cf CLI login (or an API token), and zonesOpenTofu/Terraform on Cloudflare (DNS and more)
sentrysentry-cli login's token (or SENTRY_AUTH_TOKEN), organization and scopesOpenTofu/Terraform on Sentry (projects, teams, alerts)

Each provider takes one target or a list of targets in the config. Every target is checked separately: two AWS profiles are two checks, each with its own login.

States ​

Every check ends in one of these states:

StateIconMeaning
ok✔︎Ready.
unauthenticated✖︎Not logged in, or the login expired.
mismatch!Logged in, but to the wrong account, project, tenant or subscription.
denied✖︎Logged in, but missing permissions you asked for. Logging in again doesn't help, so there's no fix to run: ask an admin for the role.
missing✖︎The CLI isn't on your PATH. The message links to its install page. (cloudflare and sentry instead offer to install Bun, see cloudflare.)
error✖︎Something else went wrong, like an unknown AWS profile (fixed with aws configure sso).

Anything other than ok makes the target not ready (exit code 4 if it isn't resolved). When there's a command that fixes it, cloudsesame shows it (→ …) and offers to run it. After running a fix, it checks that target again, so a target with several problems is fixed one step at a time.

Every check has a timeout (20 s by default), and all providers are checked in parallel. With cache, providers that passed recently aren't checked again.

Permissions ​

Being logged in doesn't mean you can call the API. List the permissions your code needs, and cloudsesame asks the cloud which ones you have. Anything missing is denied, with the names in the message:

✖ gcloud permissions  acme-dev: missing aiplatform.endpoints.predict

Connectivity ​

Before checking any provider, cloudsesame opens a TCP connection to onlineCheck (www.gstatic.com:443 by default) to tell "offline" apart from "logged out". Offline, auth and check exit with code 3, and predev follows the offline policy. Set onlineCheck: false to skip it.