For the complete documentation index, see llms.txt. A markdown version of this page is at /cloud-accounts/keyless-access/index.md.

Keyless cloud access

Ringleader signs in to your cloud with a short-lived token that names your organization, so it holds no password or key for your account.

Ringleader signs in to your cloud with a short-lived token that names your organization, so it holds no password or key for your account. No identity that other Ringleader customers can use is involved. The term the reference pages use for this is per-organization federation.

Sign-in with no stored key

Each time Ringleader needs to act in your cloud, it signs a token that names your organization as org:<your-org-id>. Your cloud checks that token against the setup you created during onboarding. It accepts your organization and refuses tokens signed for any other.

Ringleader presents the token directly to your cloud. No Ringleader-owned identity sits in between, and no credential of yours is stored anywhere. That setup is yours: you can read it in your cloud’s console, and delete it in one command to shut Ringleader out.

The identifiers in a CloudAccount are all public: a service-account email, a workload identity provider name, an Entra application (client) id and a tenant id. Naming an identity gives Ringleader no access by itself. The token carries the authority. Ringleader derives its subject on the server from the workstation’s namespace, never from anything written on the CloudAccount.

The three values your cloud checks

Every token Ringleader signs for your organization carries three values. Ringleader works them out from the organization that owns the workstation, and nothing a person types into a workstation can change them.

ValueWhat it is
Issuer (iss): who signed the token<issuer-url>/org/<org-id>
Subject (sub): which organization it speaks fororg:<org-id>
Audience (aud): what it may be used forGoogle Cloud: <issuer-url>/org/<org-id>/gcp. Azure: api://AzureADTokenExchange. AWS: <issuer-url>/org/<org-id>/aws.

Where you set each value in your cloud is in Checks your project makes, Checks Entra makes and Checks your account makes.

To check the signature, your cloud fetches Ringleader’s public keys from these two pages:

<issuer-url>/org/<org-id>/.well-known/openid-configuration
<issuer-url>/org/<org-id>/jwks

The pages hold public keys only. Ringleader publishes several accepted keys at once, so it can change the key it signs with and you redo nothing. Until the pages exist, your cloud has nothing to check a token against, and no workstation in your organization can sign in.

Google Cloud has two audiences

Google’s token exchange takes an audience parameter, which is the resource name of your workload identity provider. It is per customer and belongs in spec.gcp.workloadIdentityProvider on the CloudAccount. It is not the aud value inside the token, which Ringleader derives and your provider pins in allowed_audiences. Your cloud checks both. Mixing them up is the most common mistake when you configure your cloud by hand. The Terraform module and the script set both for you.

Sign-in failures

If Ringleader cannot sign in to your cloud, the workstation fails with a clear message. It never falls back to another way in, which would put a workstation back on an identity you thought you had retired.

What is wrongWhat you see
cloudAccountRef names an account your organization does not own, or that does not existThe apply is refused.
The workstation’s namespace belongs to no organizationThe apply is refused, because no token can be signed for it.
The setup in your cloud does not match what Ringleader signsThe workstation fails to create, with your cloud’s own rejection on its status.
Ringleader itself is not set up to sign tokensThe workstation fails with “cloud federation is not configured”. Contact Ringleader.

Set up keyless access in your cloud

Follow the guide for your cloud. Each one creates an identity for Ringleader to use, and tells your cloud to accept Ringleader’s tokens for your organization alone:

  • Onboard Google Cloud creates a service account with roles on your project, and a workload identity pool that accepts the token.
  • Onboard Microsoft Azure creates an Entra application with custom roles, and a federated credential that accepts the token.
  • Onboard AWS creates an IAM role with a permission policy, and an IAM OIDC provider that accepts the token.

Google Cloud permissions and resources, Microsoft Azure permissions and resources and AWS permissions and resources list what each setup lets Ringleader do.

Each guide lists the two values that Ringleader gives you and the identifiers that you send back, all of them public.

Find your organization id

Your cloud’s setup pins your organization’s id, which is the uid of the organization, never its name. A name can be deleted and reused, and a uid cannot. Read the uid with:

rl org get acmecorp -o jsonpath='{.metadata.uid}'

The command prints the id:

0192f5bf-af83-7178-8d0a-f1c7aea06bde

Check that Ringleader can sign in

Before anyone creates a workstation, confirm that Ringleader can use the identity. Each guide has the check in its Check the setup section: Onboard Google Cloud, Onboard Microsoft Azure and Onboard AWS.

Fix a sign-in that your cloud refuses

Compare the three values above against what you created in your cloud, starting with the issuer. The issuer must match exactly, with no trailing slash. Each guide’s Troubleshoot section shows the error that a mismatch causes, such as Onboard Microsoft Azure for the AADSTS700211 error.

On Google Cloud, also check who may use the ringleader-workstations service account. Checks your project makes says how its binding must read.

Next steps