LiteLLM evidence for a SOC 2 audit

What a SOC 2 auditor will ask about a self-hosted LiteLLM gateway, where LiteLLM produces that evidence, what it leaves to your team, and how LiteLLM's own SOC 2 Type II report fits a vendor review.

On this page

What SOC 2 evidence does a LiteLLM gateway need to produce?

A self-hosted LiteLLM gateway produces logs, access records and key-control records that an auditor can test, but the SOC 2 report itself is issued by an independent CPA firm, and your organization owns the controls the report describes. The gateway supplies evidence; it does not make the control environment compliant on its own. A SOC 2 examination uses the AICPA's Trust Services Criteria, which group controls into five categories: security, availability, processing integrity, confidentiality and privacy. The common criteria CC1 to CC9 cover security and apply to every SOC 2, while the other four categories add criteria only when you include them in scope. This page focuses on the security common criteria that an internal AI gateway touches most directly, especially logical access (CC6), monitoring (CC7) and change management (CC8).

Because the gateway is an internal system, an auditor will ask you to describe it in your system description and then show that its controls operated over the audit period. Expect questions about who can sign in to the admin interface, whether each administrative action can be traced to a named person, how virtual keys are issued, rotated and revoked, and how anomalies are detected and reviewed. Under CC7.2, the monitoring criterion, you need a documented way to review gateway anomalies and decide which ones are security events. Confirm with your auditor early which categories are in scope and which points of focus they expect you to address, since the Trust Services Criteria treat points of focus as guidance rather than separate requirements.

DeployOpen plans, configures and documents these controls and prepares the evidence for your audit team, but it does not issue audit reports, attestations or certifications. Ask your CPA firm to confirm the exact population, sampling and evidence formats they will test, and make sure your system description matches the deployed gateway, including the database, Redis, identity provider and any secret manager. Also ask LiteLLM for its own SOC 2 Type II report through its LiteLLM compliance documentation. That report covers LiteLLM's own environment and helps your vendor review, but it does not replace your controls over how you deploy and operate the gateway.

Which SOC 2 criteria map to LiteLLM controls and configuration

This table maps the SOC 2 criteria an auditor is likely to test against a self-hosted LiteLLM gateway to the platform capability, the configuration the organization must set and operate, and whether the capability requires an Enterprise license. Read each row as a control the organization must run and evidence, not as a criterion the platform satisfies on its own. Enterprise-only rows matter most for audit trails, because the open-source edition does not attribute admin actions to a named person.

RequirementPlatform capabilityConfiguration neededEnterprise only
CC6.1 logical access to the gateway admin UISSO with Google, Microsoft Entra ID, Okta or generic OIDC for the admin UIConfigure SSO and set disable_env_credential_login so UI_USERNAME, UI_PASSWORD and the master key cannot sign inNo
CC6.2 and CC6.3 user registration and removalSCIM provisioning and team-level RBACMap identity provider groups to LiteLLM teams and roles, and document the joiner and leaver processYes
CC7.2 monitoring for anomalous admin activityAudit logs recording admin changes to keys, budgets, models and teamsEnable audit logs, forward them to your SIEM, and define who reviews them and how oftenYes
CC6.1 and CC6.2 credential issuance for applicationsVirtual keys with per-key, per-user and per-team budgets, TPM and RPM limits and model restrictionsIssue one key per application or person, restrict models per key, and set budgets and rate limits before go-liveNo
CC6.1 protection of privileged credentialsLITELLM_MASTER_KEY must start with sk-, and Enterprise supports secret manager integrationsStore the master key in a secret manager, limit who can read it, and record each rotationNo
CC8.1 change management for gateway releasesFour most recent stable minor versions supported for open source and Enterprise deploymentsTrack the release line in use, test upgrades in staging, and keep change tickets for each upgradeNo
CC7.1 and CC8.1 detection of configuration driftConfiguration can be managed as code in your own repositoryKeep proxy configuration in version control with reviewed changes, so each change has an author and approverNo

Why disabled shared logins and SSO matter to the auditor

An auditor testing access controls for a SOC 2 will want to see that every administrative action on the gateway can be tied to one named person. The default Admin UI login is the main gap to close. LiteLLM's Moving from OSS checklist warns that signing in with UI_USERNAME and UI_PASSWORD, or with the master key, lets anyone who knows those values act as proxy admin, and the audit trail does not identify the individual. A shared login therefore produces logs that show activity but cannot show who did it, which weakens the evidence behind CC6 logical access and CC7.2 monitoring. Before go-live, confirm that the shared credentials are removed from daily use, that the master key sits in a secret manager, and that the checklist's recommendation to enable SSO and set disable_env_credential_login has been applied and tested.

LiteLLM's admin UI supports SSO with Google, Microsoft Entra ID (Azure AD), Okta and generic OIDC providers. Since v1.76.0, SSO is free for up to 5 users. Beyond that, an Enterprise license is required, and Enterprise also adds SCIM provisioning and audit logs. Confirm your current user count, the edition you run and the release line you plan to stay on before designing the identity model, because a team that grows past five admins or viewers will change the licensing picture. Decide which identity provider groups map to proxy admin, viewer and team roles, and document who approves those mappings. Those decisions become the population an auditor samples when testing joiner, mover and leaver controls.

Expect the auditor to ask for three things: the SSO configuration showing which identity provider is trusted, evidence that the shared login path is disabled, and a sample of admin actions traced to named individuals. Run a test in which a departing administrator's identity provider account is disabled and confirm that gateway access stops. Keep the configuration export and test records with the change ticket. Revisit the Enterprise decision at each upgrade, since SSO and SCIM terms are edition-specific, and confirm current terms with LiteLLM rather than assuming the free tier still applies to your environment.

Evidence LiteLLM produces and how to keep it

A SOC 2 examination tests whether controls operated over a period, so the auditor will ask for samples, not descriptions. The cards below list the records a self-hosted LiteLLM gateway produces, what an auditor typically samples from each, and who in your organization must keep the copy that is shown to the auditor.

Admin audit logs

Audit logs record changes made through the proxy admin interface, such as key creation, budget edits and model changes, tied to a named user. The auditor typically samples changes over the audit period and asks you to show who made each one and whether it was approved. Audit logging is an Enterprise feature, so confirm it is licensed before you rely on it. The platform team must export these logs on a schedule to storage it controls, because the audit trail is only as durable as the copy you keep.

Enterprise docs

SSO configuration and user list exports

Evidence of SSO shows that admin sign-in goes through your identity provider and that the default username and password login is disabled, as LiteLLM's move-from-open-source guidance recommends. Auditors sample the SSO settings, the admin user list and the dates accounts were added or removed. Export the user list at regular intervals and keep the SSO configuration under change control. The identity team should retain the exports and the approval for each access change.

Free SSO limit
5 users
Admin UI SSO docs

Virtual key inventory with budgets and limits

A current inventory of virtual keys, with each key's owner, team, budget, rate limits and permitted models, shows that access follows an approved list. Auditors compare the inventory with access requests and sample keys to confirm an owner exists and limits were set. Pull the inventory on a schedule and store it with the approvals that created each key. The application owner or team lead is responsible for confirming that each key still has a business need.

Virtual keys docs

Key rotation records kept by the organization

LiteLLM can record what changed, but the rotation schedule, the reason for each rotation and the evidence that old keys were revoked usually sit in your own change tickets or secret manager history. Auditors sample rotations to confirm they followed the policy and that the master key, stored in a secret manager, was handled under the same process. Ask your security team to define the rotation policy before the audit period starts. The security operations group must retain the tickets and secret manager logs.

Production best practices

Release version and image verification records

Auditors check that the gateway runs a supported release and that changes were tested and approved. Keep a record of the deployed version, the date of each upgrade, the image digest and the signature check performed before deployment. Supported releases are the four most recent stable minor versions, so an out-of-support build is a finding to plan around. The platform team must retain the upgrade tickets and the verification output for each release.

Supported release window
4 minor versions
LiteLLM releases

Alert rules tied to CC7.2 anomaly review

CC7.2 expects you to monitor system components for anomalies and to decide whether each one is a security event. Alert rules on failed admin logins, unusual spend spikes, key creation outside business processes and repeated authorization errors give the auditor a monitoring control to test. Keep the alert definitions, the notifications received and the triage notes for each alert. The security operations team owns the review record and must retain it with the alert history from the monitoring tool.

2017 Trust Services Criteria

Configuration sequence before the audit period starts

This sequence puts the gateway's access, key, logging and release controls into place before the examination window opens, so each control has a configuration record and a tested sample ready when the auditor asks. It is ordered so that identity and credential changes come before the logs and alerts that depend on them.

  1. Confirm edition and SSO user count

    Before any configuration work, the platform owner confirms whether the deployment runs open source or Enterprise and how many people need admin UI access. LiteLLM's documentation states that SSO is free for up to 5 users from v1.76.0, and an Enterprise license is needed beyond that, so this count decides whether SSO and SCIM are available without a license. Record the edition, the license status and the admin headcount in the control register. The step is done when the register names the edition and the SSO path that will be used for every admin.

  2. Disable environment credential login

    The platform owner turns off the default admin login that relies on UI_USERNAME and UI_PASSWORD or the master key, using the disable_env_credential_login setting described in LiteLLM's move-from-open-source checklist. Without this change, anyone who knows those values can sign in as proxy admin and the audit log cannot tie the action to a person. Move LITELLM_MASTER_KEY, which must start with sk-, into a secret manager and remove it from configuration files and environment dumps. The step is done when a test login with the old credentials fails and the secret manager holds the only copy of the key.

  3. Enable SSO for all admins

    The identity owner connects the admin UI to the corporate identity provider using one of the supported options: Google, Microsoft Entra ID, Okta or a generic OIDC provider. Each admin signs in with a named account, and the group or role mapping is documented so access can be reviewed later. Confirm with the identity team that departed staff and shared accounts are removed from the admin role. The step is done when every admin login is traceable to a named identity and the review record lists who holds admin rights.

  4. Define virtual key ownership and rotation

    The security and platform leads assign an owner to every virtual key and team, and write a rotation procedure that states how often keys rotate, who approves a new key, how a key is revoked and how budgets and model restrictions are reviewed. LiteLLM virtual keys support per-key, per-user and per-team budgets, rate limits and model restrictions, so these settings should match the documented ownership. Test one rotation and one revocation in a non-production environment. The step is done when the key inventory maps each key to an owner and the test rotation appears in the change record.

  5. Turn on audit logging and export it

    The platform owner enables audit logging, which is available in LiteLLM Enterprise, and configures export to storage that the security team controls and that keeps records for the retention period set in the policy. Confirm with the vendor which events are captured for key creation, budget changes, model changes and admin logins, because the coverage should be verified and not assumed. Check that logs reach the retained store and cannot be edited by the people whose actions they record. The step is done when a test admin action appears in the exported log with the person's identity attached.

  6. Set alerting for anomalous access

    The security operations team defines alert rules for events that suggest misuse, such as admin logins outside expected hours, repeated failed logins, key creation outside the approved process, budget or rate limit spikes, and changes to model routing. The alerts should route to the team that reviews them and should be linked to the procedure for deciding whether an anomaly is a security event, which is the purpose of criterion CC7.2 in the Trust Services Criteria. The step is done when a deliberate test event triggers an alert, the alert reaches the reviewer and the review is recorded.

  7. Pin the release line and record upgrades

    The platform owner selects a release line from the four most recent stable minor versions that LiteLLM supports, and records the version, the image digest and the date of each deployment in the change log. Confirm the current release from the project's release page at the time of setup, because the supported line changes as new minor versions ship. Upgrades go through the same change process as other production components, with a rollback plan. The step is done when the running version matches the recorded version and the change log shows an approved entry for it.

  8. Test a sample of each control

    Before the examination window opens, the internal control owner samples each control and collects the evidence an auditor would request: the configuration export, a named admin login, a rotation record, an exported audit log entry, an alert with its review note and the release record. Test results should be dated and signed by the control owner, and any gaps should be fixed and retested. Confirm with the audit firm which samples and formats it expects, because the operating-effectiveness period in a Type 2 report depends on evidence collected over time. The step is done when every control has at least one dated test record that a reviewer can follow from the configuration to the output.

How LiteLLM's SOC 2 Type II report fits your vendor review

LiteLLM states that it is SOC 2 Type II audited, and you request that report through its Trust Center, linked from the LiteLLM compliance documentation. Treat that report as evidence about LiteLLM as a vendor: how the company runs its software development, access and operations. It does not describe your deployment. Your Kubernetes cluster, your PostgreSQL and Redis instances, your identity provider configuration and the admin accounts you create sit inside your own system boundary. If the gateway is in scope for your SOC 2, your auditor will expect controls you operate yourself, and the vendor report can support only the portion of those controls that LiteLLM performs.

Read the report for its scope and period before you rely on it. Confirm which products and services the report covers, whether the self-hosted open-source release and the Enterprise edition are both inside that scope, the examination period, and which Trust Services Criteria categories were tested. Confirm also whether the report is Type I or Type II and whether any carve-out subservices are excluded. A Type II report that does not name the components you run, or whose period ends well before your own audit window, will leave gaps you need to cover with your own evidence. Ask whether the report can be shared under your confidentiality terms, because SOC 2 use is generally restricted to specified parties, while a SOC 3 report is a general use document that can be distributed more freely. A SOC 3 is useful for an initial screen, but your vendor review will normally need the full SOC 2 report.

Build the vendor review around a short mapping: which of your controls rely on LiteLLM's report, which rely on your own configuration, and where the two meet, such as subservice organizations your auditor will ask you to document. Record the date you received the report, who reviewed it, and any exceptions noted, along with your compensating controls for each exception. Re-request the report each cycle, because a report that was current last year may no longer match the release line you run. Keep the same review record for any upgrade that moves you to a new version, since the vendor report alone does not show that your deployed version is the one that was tested.

What LiteLLM does not cover for your SOC 2

LiteLLM can produce logs, access records and key events, but the gateway is one component in a wider system description. The cards below cover the controls your organization, your hosting provider and your auditor must still supply, so the evidence from the gateway fits into a complete SOC 2 story.

Policies, access reviews and change approvals

LiteLLM shows who changed a key or model, but it cannot show that a change was approved. Your organization must maintain written access policies, run periodic reviews of Admin UI users and virtual key owners, and require approval records for configuration changes to routes, budgets and guardrails. Ask your auditor which change ticket format they will sample, and make sure each gateway change links to one.

Compliance docs

Hosting infrastructure and cloud logging

The servers, Kubernetes cluster, load balancers and cloud accounts that run the gateway sit outside LiteLLM. Your team owns their network rules, host hardening, patching, and the retention and integrity of cloud control plane logs. Confirm that infrastructure logs are collected centrally, retained for the period your auditor expects, and cover the same systems that appear in your system description.

PostgreSQL and Redis controls

Spend logs, virtual key records and budgets live in PostgreSQL, and Redis holds shared rate limit and router state once more than one proxy instance runs. Backup schedules, restore tests, encryption at rest, database user privileges and Redis authentication are your controls to design and evidence. Check that the database role used by the proxy cannot change its own audit records.

Monitoring response and incident procedures

Under CC7.2, you must monitor the system for anomalies and decide which ones are security events. LiteLLM can emit logs and metrics, but someone must define alert thresholds, route alerts to a responder, and record triage decisions. Document the runbook for unexpected key creation, admin logins and budget spikes, and keep the tickets that show it was followed.

Vendor management for model providers

Each upstream model provider receives prompts and returns responses, so the provider is a subservice organization in your system description. Collect each provider's own SOC 2 or equivalent report, review its data retention terms, and record the review. Your evidence for LiteLLM's own SOC 2 Type II report is a vendor review item, not a substitute for these provider reviews.

Design and operating effectiveness judgment

Your auditor decides whether each control is designed to meet its criterion and whether it operated across the audit period. A feature that exists in LiteLLM, such as SSO or audit logs, does not pass on its own. Expect the auditor to sample events across months, so confirm that the settings were enabled throughout the period, not just at go-live, and keep dated configuration exports as proof.

2017 TSC

How admin, key and log evidence flows through the gateway

The diagram starts with an administrator signing in through the identity provider, which is where the SSO and disabled shared login evidence begins. The admin session reaches the customer-hosted LiteLLM proxy, which checks virtual keys and budgets before forwarding a request to a model provider outside the trust boundary. Request logs and admin audit logs leave the gateway for retained storage and an alert path, so the auditor can trace each change and each anomaly. Check that the admin and request logs land in storage you control and that the alert path reaches someone who acts on it.

Admin sign-in, key enforcement and log flow across the gateway trust boundary.

Questions buyers ask before hiring help with SOC 2 evidence

Does an internal LiteLLM gateway need a SOC 2 report?

Not by default. A SOC 2 report is an examination of a service organization's system, so the question is whether your company's own SOC 2 scope includes the gateway, which depends on what your customers buy and what your auditor expects. If the gateway handles data in scope for your report, your auditor will ask for evidence of how it is controlled, such as access, change and monitoring records. Confirm the scope with your auditor before the evidence work starts. The Trust Services Criteria apply to every SOC 2 through the common criteria, so the controls matter whether or not the gateway is named in the report.

How much effort does SOC 2 evidence setup take for a LiteLLM gateway?

The effort depends on a few drivers: the LiteLLM edition you run, the number of users and teams that sign in through SSO, how many admin roles you define, and how audit logs and alerts are exported to your SIEM. Open-source deployments need you to build more of the access and logging controls yourself, while Enterprise adds SSO and SCIM beyond the free limit, audit logs and team RBAC. Ask any partner for a written estimate that lists each evidence item, the systems it touches and who will collect it. Effort is not a fixed figure for every gateway.

What does the work need from our team?

Plan for three roles to be available. Platform admins own the gateway configuration, virtual keys and the master key handling. Your identity provider owner configures SSO, group mapping and removal of shared logins. An auditor liaison confirms which evidence the auditor wants, how far back it must go and in what format. Without the auditor liaison, teams often collect screenshots that the auditor does not accept. Agree on these owners and their time before the scope is signed.

Can our own team prepare SOC 2 evidence for LiteLLM without a partner?

Yes, if you have people who understand both your identity setup and the Trust Services Criteria. Your team can enable SSO, disable the default admin login path described in LiteLLM's move from open source guide, rotate keys on a schedule and export logs. The harder part is proving the controls operated over the audit period, which needs dated records, consistent ticket trails and a clear owner for each control. A partner is useful when the team lacks that experience or lacks time to run the work alongside daily operations.

How long does SOC 2 evidence work take?

No duration is fixed by the material available for this page, so confirm it rather than assume it. The timeline depends on whether SSO and admin login changes are already done, how many audit periods the auditor samples, how quickly your identity owner can make changes, and how much logging export is needed. Ask for a written plan with milestones, the evidence that will exist at each one and the dependencies on your auditor's calendar. Note that the AICPA has proposed revisions to its attestation standards, so confirm with your auditor which version applies to your engagement.

What does LiteLLM Enterprise support cover, and how fast does it respond?

LiteLLM Enterprise support includes a dedicated channel with its engineering team and optional 24/7 service levels. According to LiteLLM's Enterprise documentation, the listed response time is 1 hour for critical issues and 72 hours for security patches. Those are vendor commitments for the product, not commitments from DeployOpen. Confirm which tier your contract includes, whether the times apply to your deployment model, and how they fit your own incident and patch process before you rely on them in audit evidence.

Does LiteLLM's own SOC 2 Type II report cover our deployment?

LiteLLM states it is SOC 2 Type II audited and that the report can be requested through its Trust Center. That report describes LiteLLM's own controls as a vendor, not the controls of your self-hosted instance. In a vendor review, your auditor will want it on file along with your own evidence for configuration, access and monitoring. Ask LiteLLM for the report and confirm its period and scope against your use before you cite it.

How DeployOpen prepares LiteLLM systems and evidence for SOC 2

DeployOpen plans and builds the self-hosted LiteLLM gateway so the controls an auditor will ask about are configured, tested and documented in your infrastructure before the examination period starts. We hand over the evidence package in a form your compliance team and auditor can review, while the attestation itself remains the auditor's work.

How we scope

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts
  • The written scope lists which admin, identity, key and alerting controls the SOC 2 system description covers
  • We confirm with your auditor which Trust Services Criteria categories are in scope before configuration begins
  • Ongoing support, upgrades and continuous testing are available as a retainer after the initial build

How we build

  • Configure SSO for the admin UI and disable shared default logins, so each admin action traces to a named person
  • Set up audit logging, key rotation procedures and alert routing into the monitoring tools your team already runs
  • Verify the deployed image signatures, secret storage and network exposure against the documented baseline
  • Test the controls with negative cases, such as a removed admin or an expired key, and record the results

How we hand over

  • A control-by-control evidence map that links each configured setting to the criterion it supports
  • Runbooks for access reviews, key rotation, alert triage and version upgrades on a supported release line
  • A written record of the configuration baseline and changes, so the operating period can be sampled later
  • Clear notes on which evidence your own teams must keep producing, since DeployOpen does not issue audit reports

How we support

  • Review of evidence samples and exports before your auditor requests them, to catch gaps early
  • Support for planned LiteLLM version upgrades, including checking the release line and configuration changes
  • Periodic re-testing of admin access, alerting and key controls under a retainer, if you choose one
  • Help answering vendor and auditor questions about how the gateway is deployed and operated

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.