Feature × Audience

How do legal teams implement RBAC with Plugsky's architecture?

RBAC for legal teams enforces confidentiality walls in software: collections follow matters, keys are scoped to the team working on them, and every query is attributable. Plugsky supports SAML/OIDC SSO and SCIM on Enterprise, workspace and resource-level permissions, scoped keys with quotas, and audit logs that show who queried privileged content and when.

Key facts

Single sign-onSAML 2.0 / OIDC SSO on Enterprise
ProvisioningSCIM user provisioning and deprovisioning on Enterprise
Permission modelRBAC with workspace, role and resource-level permissions
API keysScoped keys per project, environment or tenant; per-key rate limits and quotas
Audit logsRequest and admin events export to SIEM (Splunk, Sentinel, QRadar, Datadog)
Key custodyBYOK via AWS KMS, Azure Key Vault, HashiCorp Vault or an on-prem HSM
ComplianceSOC 2 Type II under NDA, ISO 27001/27017/27018, HIPAA with a BAA; FedRAMP Moderate in process
DeploymentHosted, VPC, on-prem and air-gapped with the same API

TL;DR

  • Collection boundaries must follow confidentiality walls, not folders.
  • Issue scoped keys to the team staffed on each matter.
  • Audit logs show who queried what, which answers counsel review questions.
  • SCIM removes access automatically when staff leave.
  • Agree deletion workflows so retention ends with the engagement.

How it works, step by step

  1. Map matters and confidentiality walls to collections before ingesting anything.
  2. Create a collection per matter or client and ingest only that content.
  3. Issue scoped keys to the staffed team and record an owner for each key.
  4. Federate authentication with SSO and automate lifecycle with SCIM.
  5. Export audit events to your SIEM with retention aligned to firm policy.
  6. Define deletion workflows for closed matters, including logs and backups.
  7. Test wall enforcement on a closed matter before live use.
1Map matters andconfidentialitywalls to2Create a collectionper matter orclient and ingest3Issue scoped keysto the staffed teamand record an owner4Federateauthentication withSSO and automate5Export audit eventsto your SIEM withretention aligned6Define deletionworkflows forclosed matters,

Try it yourself

Open the AI API key security checklist →

Law firms and legal departments already run ethical walls on paper: staffing decisions, conflict checks, restricted files. AI systems that ignore those walls quietly dissolve them, because retrieval is exactly the act of crossing from one matter to another if permissions are not enforced.

The practical rule is that collection boundaries follow confidentiality boundaries, not folder structures. If two matters must never see each other's documents, they must never share a collection, a key or a query surface.

The four layers: identity, permission, keys, evidence

Think in terms of who, what, which and proof. Who is federated identity — SAML 2.0 / OIDC SSO on Enterprise, with SCIM keeping the user list current. What is authorisation — RBAC with workspace, role and resource-level permissions. Which credential is in use — scoped API keys per project, environment or tenant, with per-key rate limits and quotas. Proof is the audit trail — request and admin events exported to your SIEM, retained up to 7 years. For legal teams, attribution turns a confidentiality wall from a policy into a control: the audit trail shows who queried privileged content.

Implement walls at ingestion time, not query time. Create a collection per matter or client, ingest only that matter's documents, and issue scoped keys to the lawyers and paralegals assigned to it. When staffing changes, revoke the key and re-issue to the new team; SCIM removes access automatically if someone leaves the firm.

Audit logs record user, model, region and time for every request, export to your SIEM for retention up to 7 years, and answer the question every general counsel eventually asks: who looked at this file? For privileged material, deploy in your VPC, on-prem or air-gapped with BYOK, and agree deletion workflows for closed matters so retention ends when the engagement does.

A practical rollout order

Pilot on a closed or fictional matter so you can test wall enforcement with no real privilege risk, then extend to live matters one team at a time. Prototype on the free plan and move to Enterprise for SSO, SCIM and private deployment. See the live pricing page for current plans.

Honest comparison

ControlPlugskyShared API keys onlyBuilding in-house
Single sign-onSAML 2.0 / OIDC on EnterpriseNot availableYou integrate the IdP
DeprovisioningSCIM on EnterpriseManual key deletionCustom lifecycle jobs
Permission granularityWorkspace, role and resource-levelOne key for everythingYou build the model
Key scopingPer project, environment or tenant, with quotasShared key, no attributionCustom key service
Audit evidenceRequest and admin events with SIEM exportLimited request logsYou build the pipeline
Key custodyBYOK via KMS or on-prem HSMProvider-managed keysYou operate the HSMs

Frequently asked questions

How do ethical walls translate into the platform?

One collection per matter, one scoped key per staffed team, and no shared query surface between walls. Access is granted and revoked with staffing, not with folder permissions.

Can we prove who accessed a document?

Audit logs tie each request to a user, model, time and region, so access can be reconstructed during a review or dispute, subject to the retention you configured.

Do we need the OpenAI SDK to change?

No. Authentication and access control sit alongside the same OpenAI-compatible API, so application code keeps working when keys or roles change.

Is there a free plan?

Yes — plugsky-micro and plugsky-lite with 2 API keys and no credit card. A 14-day full-access trial is also available.

How is pricing structured?

Self-serve plans are flat monthly with unlimited fair-use usage and no per-token charges or overage fees. See the live pricing page for current plans.

Can we keep our own identity provider?

Yes on Enterprise: SAML 2.0 / OIDC SSO and SCIM provisioning work with standard identity providers, and RBAC maps your roles to workspace and resource permissions.