Skip to main content

Cloider accounts, members and roles explained

On Cloider, resources belong to accounts and people reach accounts through roles. Every user has their own account, where they are the Owner, and can be invited into other accounts as an Admin or a Restricted member. API tokens act inside one account with the role of the member who created them, or less.

At a glance​

TermWhat it is
UserA person, identified by the email address of their Google or GitHub sign in
AccountThe container for resources, usage and invoices. Every user has one, named after them
OwnerThe user whose account it is. Full access, including billing. Every account has exactly one
MemberAnother user invited into the account by email, with the role Admin or Restricted
AdminFull access to every resource and to members, but not to billing
RestrictedRead-only access to resources, with a few exceptions listed below
API tokenA secret that acts in one account as the member who created it, either Read or Read & Write

Users and accounts​

When you sign in for the first time, Cloider creates your user and your account together. They share your email address and your name, which is why the account menu shows your own name while you work in your own account.

  • Your account is where your resources live and where their usage is billed.
  • You are its Owner. Ownership can't be given away or shared: an account has exactly one Owner.
  • You can be a member of any number of other accounts. In each one you have the role its Owner or an Admin gave you.

The account you are working in is shown in the top right corner of the dashboard. Moving between accounts is covered in Switch accounts.

Use a shared account for a team

For a company, sign up with the address that should own the infrastructure and receive the invoices (for example ops@acme.com), then invite each person as a member. Everyone keeps their own personal account next to it.

Members​

A member is a user invited into an account by email address. Owners and Admins invite members from Access Control in the dashboard (see Access control).

A membership has one of three statuses:

StatusMeaning
PendingInvited, but the person hasn't opened the account yet. They receive an email titled Invitation to Access a Cloider Account
ActiveThe person has signed in with the invited email address and opened the account at least once
DeactivatedAccess is switched off but the membership is kept, so it can be turned back on later

The invitation is tied to the email address, not to a provider. The invited person signs in with Google or GitHub using that address, and the account appears on their Select an account screen. Opening it the first time makes the membership Active.

Roles​

Owner​

The Owner has full access to the account. They are the only one who can see Billing and its invoices, and the only one who can upgrade the account from the trial to the paid plan. The Owner is billed for every resource in the account, whoever created it.

Admin​

Admins can do everything the Owner can do with resources and members: create, change and delete every kind of resource, invite and remove members, change roles, and manage every API token in the account. They can't see Billing or invoices.

Restricted​

Restricted members have read-only access. They can see every resource, its status, settings, usage and logs, but they can't create, change or delete resources. The dashboard hides or disables the buttons that would. Restricted members can still:

  • open the browser terminal of clusters, apps and databases, and download a cluster's kubeconfig,
  • read connection details, such as a database's password and CA certificate, and the values of an app's secret variables,
  • open and reply to support requests,
  • generate Read API tokens for themselves,
  • leave the account.
Restricted is not "no secrets"

A Restricted member can read credentials: kubeconfigs, database passwords and secret variables. A kubeconfig is a cluster admin credential, and a terminal is a shell. Give the Restricted role only to people you trust with that data, and remove members who no longer need access.

When a request is refused because of the role, the error says so, for example:

You have read-only access to this account, you can not create clusters!

API tokens and roles​

An API token belongs to one account and acts as the member who created it. Cloider looks up that member's current role on every request, so a token never does more than its creator can do right now:

  • A Read & Write token has the creator's role.
  • A Read token is held to read requests (GET), whatever the creator's role. Any other request is refused with This API token is read only!.
  • Restricted members can only create Read tokens. If a member is changed to Restricted, their existing tokens are switched to Read.
  • If the creator is removed or deactivated, their tokens stop working at once. Removing a member also deletes their tokens.

Some actions can't be done with any token, only from a signed in dashboard session: inviting and managing members, changing roles, generating, editing and deleting API tokens, connecting a Git provider, switching accounts and leaving an account. Those requests fail with This endpoint can't be used with an API token!. The one token action allowed is a token revoking itself (cloider logout does this).

Read API tokens for how to create and manage them.

Permission matrix​

The matrix below shows who can do what. Read token and Read & Write token are API tokens; a Read & Write token has its creator's role, so the column assumes an Owner or Admin creator.

ActionOwnerAdminRestrictedRead tokenRead & Write token
See every resource, its status and settingsYesYesYesYesYes
See the Usage page and per resource usageYesYesYesYesYes
See Billing and invoicesYesNoNoNoOwner's token only
Upgrade from the trial to the paid planYesNoNoNoNo
Create, pause, resume and delete clustersYesYesNoNoYes
Download a cluster's kubeconfigYesYesYesYesYes
Create, resize, rename, pause, resume, restore and delete databasesYesYesNoNoYes
Read a database's password and CA certificateYesYesYesYesYes
Create, deploy, configure, pause, resume and delete appsYesYesNoNoYes
Change an app's variables, build arguments and build variablesYesYesNoNoYes
Read an app's secret variable values and logsYesYesYesYesYes
Create and delete buckets, change visibility, versioning, policy and lifecycleYesYesNoNoYes
Upload, delete and restore files in bucketsYesYesNoNoYes
List and download files in bucketsYesYesYesYesYes
Create, update and delete S3 access keysYesYesNoNoYes
Create and delete registry projects, change settings and policiesYesYesNoNoYes
Delete images, tags and repositories, run retentionYesYesNoNoYes
Create, update and delete registry tokensYesYesNoNoYes
Add and delete domains, DNS records and targetsYesYesNoNoYes
Open a browser terminal (cluster, app, database)YesYesYesNoYes
Run a command with execYesYesNoNoYes
Connect or disconnect a Git providerYes (dashboard)Yes (dashboard)NoNoNo
Open and reply to support requestsYesYesYesNoYes
List membersYesYesYesYesYes
Invite members, change roles, activate, deactivate and remove membersYes (dashboard)Yes (dashboard)NoNoNo
Leave the accountNot applicableYes (dashboard)Yes (dashboard)NoNo
Generate API tokensYes (dashboard)Yes (dashboard)Read only (dashboard)NoNo
See API tokensAll in the accountAll in the accountTheir ownPer creatorPer creator
Edit and delete other members' API tokensYes (dashboard)Yes (dashboard)NoNoNo

"Per creator" means a token lists what its creator would see: every token for an Owner or Admin, their own for a Restricted member.

Things that are not roles​

  • Cloider has no per resource permissions. A role applies to the whole account. To separate environments, use separate accounts (for example one for production that few people can reach) or separate API tokens with the least access they need.
  • Registry tokens and S3 access keys are not members. They are credentials for one product (docker and S3 tools), scoped by what you choose when you create them. See Registry tokens and Access keys.
  • Kubernetes RBAC inside a cluster is yours. The kubeconfig Cloider gives you is a cluster admin credential. Create service accounts and RoleBindings inside the cluster for finer access.

Next steps​

Frequently asked questions

What roles does Cloider have?

Three: Owner, Admin and Restricted. The Owner is the user whose account it is and has full access including billing. Admins have full access except billing. Restricted members have read-only access to resources.

Can an Admin see invoices?

No. Billing and invoices are visible to the account Owner only. Admins and Restricted members do not see the Billing page, and the billing API refuses them.

Can I transfer ownership of a Cloider account?

No. An account belongs to the user it was created for. To hand over infrastructure, create the account with a shared company email address and invite people as members.

What can a Restricted member do?

See every resource, its usage and logs, open browser terminals, download kubeconfigs, read connection details and secret variables, open support requests and create Read API tokens. They cannot create, change or delete resources or run exec commands.

What happens to API tokens when I remove a member?

Removing a member deletes the API tokens they created in the account. Deactivating a member stops their tokens from working until the member is activated again.

Why can my API token not invite members?

Members and API tokens can only be managed from a signed in dashboard session, so that a leaked token cannot be used to give out more access. The API answers This endpoint can't be used with an API token!.

Does a role apply to one resource or the whole account?

The whole account. Cloider has no per resource permissions. Use separate accounts or separate API tokens to limit access further.