Security and privacy
How Fluid holds your provider credentials, what it can do in your cloud accounts, and what it keeps.
Warnings and limits
- A connection lets Fluid start and end machines in your cloud account, within the access you gave it. Prefer the keyless methods (a role on AWS, a federated credential on Azure, the keyless connection on Google Cloud): nothing that could be replayed is stored.
- Jobs on your own machines run as the user who installed Fluid's daemon, with that user's access.
- Checkpoints are encrypted with a key of each job's own. Outputs and logs are kept in Fluid's storage without that per-job encryption.
- Never paste a token or a secret into a chat or a command line. Fluid never asks for one there.
- Fluid keeps outputs 7 days, logs with no expiry, and checkpoints as Checkpoints and retention says.
Your provider credentials
- Roles and federation first. For AWS, Fluid assumes a role in your account with an ExternalId bound to your workspace. For Azure, a federated credential trusts your workspace's identity. For Google Cloud, a workload identity provider in your project trusts that same identity, and one binding lets it act as Fluid's service account. No secret that could be replayed is stored for these: Fluid keeps identifiers only.
- One identity per workspace. Azure and Google Cloud trust an issuer that is your workspace's alone, so no other workspace can sign in to your account. Each sign-in uses an assertion that lives five minutes, made for one cloud: one sent to Google Cloud is of no use at Azure, and the other way round. Google's tokens last an hour and are asked for again as needed. You end the trust in your own cloud account: remove the federated credential on Azure, or the binding, the provider or the pool on Google Cloud (Keyless connection).
- Keys and tokens are sealed. An access key, a service account key, a client secret, a Modal token or a Lambda API key is encrypted with your workspace's own key when it is saved, and is never returned by any API, the console or the CLI.
- Values are read privately.
fluid connectandfluid secrets setread secret values from a file, an environment variable or a hidden prompt, never from a command-line argument. Coding tools pass the path of a secrets file or the names of environment variables, so values never pass through the model. - Verified on save. Fluid checks a connection with the provider when you save it, and keeps the previous one if the check fails.
What Fluid can do in your account
Only what its job needs, on resources it made:
- start machines, tagged
soma:managed=true(on Google Cloud, the labelsoma-managed=true), and terminate only tagged machines; - read prices, instance types and, on AWS, your EC2 vCPU quotas and Cost Explorer totals;
- on AWS, work only in security groups it made, in VPCs
fluid connect aws --from-clitagged, and launch only public images with no snapshot attached.
It never deletes your data, never touches machines it did not start, never changes your account's access or quotas, and never powers off a machine you enrolled. See AWS.
Nothing left running
Every machine has a hard stop, which Fluid keeps renewing while the job runs. If Fluid stops renewing it, the machine ends itself. Fluid also ends machines past their lease, and fluid audit lists everything Fluid runs on every connection.
Your code and data
- The project you upload leaves out credential files by default:
.envfiles, private keys, cloud credential files and directories, and.git. See what is uploaded. - Checkpoints are encrypted on the machine, with a key of the job's own, before they are stored, and verified when they arrive.
- Every transfer uses TLS.
- Outputs are stored in Fluid's storage for the time on Checkpoints and retention, then deleted. Logs are stored there too, and kept.
Payments
Team plans are paid through Stripe. Card details are entered on Stripe's pages and never reach Fluid: Fluid holds no card. Your billing address and tax ID are Stripe's to hold too. Fluid keeps the plan's history with the workspace's records. When an Owner changes autopay, that history holds who did as that person's account id, with no name and no address, and the workspace's Owners are told who it was. See Plans and billing.
Signing in
Fluid signs you in itself, with an emailed code, Google or GitHub, and keeps no password. Sensitive actions need a sign-in from the last 5 minutes. Inviting, changing a role, removing someone, leaving and renaming a workspace need one from the last hour. The CLI and coding tools get credentials of their own through a browser approval; you can revoke each in the console's Settings, Agents. Agent tokens never hold admin access. Each new agent token and sign-in is emailed to its person. A CLI sign-in renewed twice with the same key, as a copy on another machine would be, is ended at once and emailed to its person and to the workspace's Owners and Administrators. See Emails about workspace changes.
Invitations
- An invitation is for one email address, also when an Owner invites several at once. Fluid keeps the address with its invitation, and deletes it 30 days after the invitation was accepted, revoked or expired.
- Fluid never says whether an address has a Fluid account: an invitation, its page and its email are the same either way.
- An invitation link's code is after the
#in its address, which a browser sends to no server, so no server's log holds it. It joins only someone signed in with the invited address, verified: a forwarded link joins nobody. - Nothing an Owner types is in the email. The audit records an invitation by its id, never by its address.
- An address that stopped invitations is kept as its SHA-256 alone, so that no invitation reaches it again.
- Removing someone from a workspace revokes their CLI and agent sign-ins there in the same step. See People in a workspace.
These docs
These pages are static files served by Fluid. They hold no user data, set no cookies, and load nothing from any other site.
Report a security issue
See Clusy's security page at clusy.io/security.