Access control for agencies: give staff access per client
Agency cloud access control on Plexivo: each client in its own organisation, staff roles per client, keys for CI, and consent before any data access.

An agency's hosting account tends to grow the same way. One login for the first client. Then a shared password for the second. A few years later, ten people can reach every client's database, nobody is sure who still has access, and offboarding a developer means changing passwords on a dozen projects.
There is a calmer way to run it. On Plexivo, each client lives in its own organisation, each person on your team has their own sign-in, and you decide, client by client, who can do what. This guide shows how to set that up and how to keep it tidy as people join and leave.
How should an agency organise client accounts?
Start with one rule: one client, one organisation. In the Plexivo partner console, each client gets their own organisation and login. Their apps, databases and teams stay separate, and you see all of them in one place.
Separate organisations give each client:
- Their own members, roles and audit log.
- Their own plan and wallet, which you can fund from your partner wallet and take unused credit back from.
- Their own GST invoices.
- Isolation from every other client: another customer's workloads cannot reach them.
Your staff then join only the client organisations they work on. A person can belong to several organisations, and the top of the sidebar shows the one they are working in. Choosing it switches to another. The Organisations page explains the model.
What roles can agency staff have?
Every member of an organisation has one role:
| Permission | Owner | Admin | Member |
|---|---|---|---|
| View resources | Allowed | Allowed | Allowed |
| Manage resources, domains, team and IAM | Allowed | Allowed | Denied |
| Billing: wallet, checkout, plans, commitments and add-ons | Allowed | Denied | Denied |
The owner is the person who created the organisation. Their role cannot be changed and they cannot be removed, so an organisation is never left without someone who can pay for it. A few decisions belong to the owner alone: session limits, verification, and asking for the organisation to be deleted.
A sensible pattern for an agency:
- Admins for the developers who build and run that client's services.
- Members for project managers, designers and anyone who needs to see status without changing it.
- A custom policy for anyone who needs one extra permission, such as billing for your accounts team, instead of making them an owner.
A custom policy adds a permission to particular members on top of their role, and never takes one away. You can only grant permissions you hold yourself, so only the owner can grant billing. Details are in Teams and roles.
Can I give access to one project instead of a whole client?
Yes, when one role across the whole organisation is too broad. Plexivo access control also covers project and resource grants, custom roles, deny policies, conditions and organisation policies. Use them when a contractor should touch one project only, or when a rule must hold for everyone in a client's organisation. Start with roles and custom policies, which cover most agencies, and reach for the finer tools when a client's contract asks for them. The IAM page is the place to start.
How do I give CI pipelines access without sharing a password?
Never put a person's sign-in in a pipeline. Plexivo has two kinds of key for automation.
Service accounts belong to the organisation, not to a person, so they keep working when someone leaves. Each one has scopes: Read (always on), plus Create and change, Delete or Billing as the job needs. A key can be issued for 30 days, 90 days (the default), 1 year or with no expiry, until revoked.
API keys belong to a person's scripts and tools. Each key has permissions, an expiry and an optional monthly spend limit, which Plexivo checks before the key creates a resource. Every key has its own default limits: 120 requests a minute, 4 changes at the same time, 20 resources created a day and 10 deletes a day, so a runaway script stays small.
Whatever its permissions, a key can never manage people or access. It cannot invite or remove members, change roles or policies, create other keys or approve support access. A person signs in to do those. See API keys.
How long do staff sign-ins last?
A console sign-in ends after a period without activity and after a maximum length. By default that is 2 hours of inactivity and 12 hours in total. An owner can change both in Settings → Security, under Session control.
This matters for agency staff in particular. If someone belongs to more than one organisation, the strictest limits among them apply to their sign-in. A client with tighter rules is protected even when your developer works across many clients.
Plexivo CLI sessions have their own length: 1, 4, 8, 12 or 24 hours, 8 by default, set under Sign-in policy in Settings → CLI sessions. Each CLI sign-in is approved in the browser, with Read only, Operate or Full access. See Sessions.
Can the agency see a client's secrets or data?
Only with the client's consent. As their agency, you can help with their resources and billing. Revealing anything sensitive, such as secret values, database passwords, connection details, app environment values, database tunnels or table rows, needs the client's approval first.
A request names an open support ticket, gives a reason, asks for a length of time from 15 minutes to 24 hours, and says whether it needs read only, the default, or read and write. An owner of the client's organisation approves or denies it in Settings → Organisation, under Agency and support access. Admins can deny, but only an owner can approve. Access ends on its own when the time runs out, and any owner or admin can choose Revoke sooner.
Even with approval, the person asking must confirm their own identity with their password or authenticator at the time, and an API key can never reveal anything on their behalf. Every view, reveal and refusal is recorded with who, what and why. Read the full flow in Support and agency access.
Set up a client team, step by step
Here is the routine for a new client, done inside that client's organisation.
- Invite your developers. Go to Access → Members and choose Invite member. Type their Email address, choose the Role (Admin or Member) and choose Send invite. The link goes only to their email, works once and expires after 7 days.
- Add billing for your accounts team. In Access → Roles & policies, choose New policy, enter a Name, choose its Permissions and choose Create policy. In the policy's Attached to column, pick a member under Attach to member and choose Attach.
- Create a service account for deploys. Go to Access → Service accounts and choose New service account. Name it, for example
ci-deployer, choose its scopes and choose Create service account. In the Keys column, pick the New key lifetime and choose Issue key. Copy it into your CI's secret store. - Use the key in CI. It is sent as a bearer token, exactly like an API key, where
$APIis the Plexivo API base address:
`` export PLEXIVO_TOKEN=plx_live_... curl -s $API/tenants/$TENANT/deployments \ -H "Authorization: Bearer $PLEXIVO_TOKEN" ``
- Set session limits. The owner opens Settings → Security and sets Session control to suit the client.
- Recommend two-step verification. It is optional, and worth turning on for every owner and admin.
- Review the audit log monthly. In Settings → Audit log, filter by actor, action or target, and choose a period under When.
What happens when a team member leaves?
In each client organisation they belong to, go to Access → Members and choose Remove next to their name. Their access ends at once:
- The API keys and CLI sessions they created in that organisation stop working.
- The policies attached to them are removed, so inviting them back starts fresh.
- They receive an email saying their access has ended.
- The removal is recorded in the audit log.
Pipelines that use service accounts keep running, because those keys belong to the organisation. To rotate a service-account key, issue a new one, move your pipeline to it, then choose Revoke on the old one. Last used shows when the old key goes quiet.
What does the audit log record?
The audit log answers "who did this, and when?" for every change, whether it came from the console, the Plexivo CLI, an API key or Plexivo AI. It also records refused changes, money movements, and every access by your agency or Plexivo support. Entries cannot be edited or deleted, and every member of the organisation can read them. For your clients, that is the clearest proof that access is under control.
FAQ
Does each client need a separate Plexivo account?
Each client gets its own organisation, with its own login, members, wallet and GST invoices. You manage all of them from the partner console, and your staff join only the organisations they work on.
Can one developer work across several clients?
Yes. A person can belong to several organisations and switch between them from the top of the sidebar. The strictest session limits among those organisations apply to their sign-in.
Can my agency read a client's database without asking?
No. Revealing data, secrets or connection details needs an approval from an owner of the client's organisation, for a set time, read only by default. Every access is recorded and visible to the client.
What is the difference between an API key and a service account?
An API key belongs to the person who created it and stops working when they are removed. A service account belongs to the organisation, so its keys keep working when people come and go. Use service accounts for CI and deployments.
Is two-step verification required?
It is optional for everyone. We recommend it for owners and admins. It works with an authenticator app and comes with one-time recovery codes.
Build your agency on clear access
Give every client a clean, separate home and give every person exactly the access their work needs. Apply to become a Plexivo partner to manage your clients from one console, and read The Plexivo partner programme for Indian agencies for how earnings work. To try the console first, start your free trial on the Developer plan, no credit card required.