Skip to main content

Installation

scm-sdk is a native async Rust SDK for Strata Cloud Manager, starting with Prisma AIRS and shared DLP and IAM services. Use Cargo to install it; your application does not need Node.js or the TypeScript SDK.

Requirements​

  • Rust 1.89 or newer.
  • An application-owned Tokio runtime for async API calls.
  • Credentials and access to the service you intend to call.

The SDK creates no runtime or background credential-loading process. Product constructors do not read environment variables or tenant registration files.

Add the dependency​

Use the scm dependency alias so imports begin with scm:::

[dependencies]
scm = { package = "scm-sdk", version = "=0.2.5" }
tokio = { version = "1", features = ["macros", "rt"] }

The exact version pin makes upgrades explicit. The package name remains scm-sdk; without the alias, its Rust import name is scm_sdk.

Default features enable AIRS scanning and the reqwest HTTP transport. This is enough for the quick start.

Select product features​

Add the features your application uses:

[dependencies]
scm = { package = "scm-sdk", version = "=0.2.5", features = ["management", "red-team", "model-security"] }
tokio = { version = "1", features = ["macros", "rt"] }

Cargo features are additive. That configuration retains default scanning and HTTP transport alongside the three selected product clients.

FeatureEnables
scanAIRS runtime scanning; enabled by default.
reqwest-transportDefault HTTP adapter with TLS verification; enabled by default.
managementAIRS management clients; also enables dlp.
red-teamAIRS Red Teaming clients.
model-securityAIRS Model Security clients.
gatewayAI Gateway clients; also enables iam.
dlpShared DLP clients.
iamShared IAM clients.
modelsModel contracts without enabling every product client.
agentguardExperimental AgentGuard integration.
realtimeExperimental realtime interfaces with a caller-supplied connector; also enables gateway.
ws-transportNative realtime WebSocket connector; also enables realtime.
tracingOptional metadata-only tracing; your application installs the subscriber.

For a Red Teaming application that does not need scanning:

scm = { package = "scm-sdk", version = "=0.2.5", default-features = false, features = ["reqwest-transport", "red-team"] }

Disabling reqwest-transport means supplying your own HTTP transport. HTTP and WebSocket connectors have separate proxy and TLS configuration.

Next steps​