Skip to main content

Command Palette

Search for a command to run...

Security

Security overview

Cursor's access controls answer four questions: who a person is, what a credential can do, where a request comes from, and what happened afterward. Team and organization admins manage these controls from the dashboard and the APIs that back them.

Most of these controls live on the Security and API Keys pages of the organization or team dashboard. You need the admin role on that team or organization to change them.

How the controls fit together

LayerWhat it controlsWhere to read more
IdentityWho can sign in, and how accounts are created and removed.SSO, SCIM, Identity and access management
CredentialsWhat a script, service, or integration can do without a person present.API keys and service tokens, Service accounts
SessionsWhere each person is signed in, and how to end that access.Session management
NetworkWhich addresses can reach Cursor, and which destinations agents can reach.Network controls
OAuth ApplicationsWhich third-party apps can act for your users.OAuth Applications
AuditA record of security events and admin changes.Audit logs

Identity

Identity is the base layer. Connect your identity provider with SSO so people sign in with accounts you control, and provision them with SCIM so access ends when someone leaves. Roles decide who can change security settings. See Members and roles.

Credentials

A credential acts without a person present, so each one should do one job. Cursor API keys carry a set of permissions and an expiry date that you choose when you create them. Service accounts give automation its own identity that isn't tied to an employee.

Start with API keys and service tokens.

Sessions

Every sign-in creates a session on one client: a browser, the desktop app, the CLI, or the mobile app. Members can review and revoke their own sessions. Admins can do the same for members of their team or organization.

See Session management.

Network

Two kinds of controls apply to network traffic, and they point in opposite directions:

  • Inbound. The IP allowlist limits the addresses your members can sign in and call Cursor from.
  • Outbound. Network access settings limit the destinations that agents can reach.

See Network controls.

OAuth Applications

Software outside Cursor can act for a user, with that user's consent and within the scopes you allow. A partner or internal app sends the user to a Cursor consent page and receives tokens for the access they approve.

See OAuth Applications.

Audit

Audit logs record sign-ins, credential changes, and changes to security settings. Review them in the dashboard, pull them through the Admin API, or stream them to your SIEM. See Audit logs.