Reusable and one-time connections

A connection is Fleet's stored permission to act in one Cloudflare or GitHub account, approved by you once or by an End User for one site.

What it is

A connection is Fleet's stored permission to act in one Cloudflare account or one GitHub account. You never type a token or an API key into Fleet. You approve each connection on the provider's own screen with OAuth 2.0. Fleet alone holds the stored credentials, and no page, export or log shows them.

How it works in Fleet

You choose the Cloudflare connection and the GitHub connection of a site independently. Each comes from one of three sources:

  1. A reusable connection the workspace already has.
  2. A new reusable connection, which you approve on the provider's screen.
  3. An End User grant, which an End User approves through a one-time link. See End User grants.

A reusable connection belongs to its workspace, and only that workspace's sites use it. A connection from an End User grant is bound to one site and is never reusable. Fleet requests only the permissions it needs to create and deploy a site and to read and write its repository. It changes only the resources it created for the site. A connection installs nothing on a site, and no Fleet code runs on a site.

Fleet checks every connection once a day. The Connections tab lists each connection with its provider account name, its scopes, the sites that use it and one status chip.

Chip

What it means

Active

The connection works.

Reconnect needed

The provider refused the stored credential. Its sites show Reconnect needed too.

Revoked

The credential was revoked at the provider and Fleet deleted its stored copies. Its sites show Reconnect needed until you choose another connection.

Awaiting confirmation

An End User approved a grant link. Provisioning waits until the member who requested the link confirms the provider account name and identifier.

Suspended

GitHub only. The installation is suspended on GitHub.

Approve new permissions

GitHub only. A new version of the Fleet for EmDash GitHub App waits for approval of the installation on GitHub. Jobs that depend on it pause until it arrives.

Rules and limits

  • While a connection needs reconnecting or is revoked, health checks keep working. Deploys, rollbacks and updates are blocked until the connection is active again or the site has another one.
  • Revoking a connection revokes the credential at the provider first. If the provider does not confirm, the connection stays as it was and Fleet shows an error.
  • Fleet uninstalls a GitHub installation that an End User granted when no other connection uses it. The owner of your own GitHub account removes an installation of that account on GitHub.
  • You can always remove access on the provider's side. See Revoke a connection.
  • What Fleet can and cannot access lists the permissions behind each connection. How Fleet handles credentials covers their storage.

Related how-tos

Report a problem with this page