Skip to main content

pan-scm-cli

Command-line interface for Palo Alto Networks Strata Cloud Manager

PyPI License Python 3.12+

Manage your entire Strata Cloud Manager configuration from the terminal. Create, update, and delete objects, network configs, security policies, and more with a consistent, scriptable CLI. Context-based authentication supports multiple tenants, and YAML bulk operations make large deployments easy.

Highlights

  • Intuitive CLI — consistent scm <action> <category> <resource> structure across 60+ resource types.
  • Bulk operations — load configurations from YAML files; dry-run mode previews changes before applying.
  • Validated input — Pydantic models validate every field before sending to the API.
  • Multi-tenant contexts — named authentication contexts let you switch between SCM tenants instantly, with environment-variable overrides for CI/CD.
  • Full coverage — objects, network, security, deployment, identity, setup, mobile agent, insights, jobs, and commit operations.
  • Docker ready — multi-platform images for AMD64 and ARM64.

How it works

Get started

  • Install — prerequisites, installation, and credential setup.
  • Quick Start — create a context and run your first command in minutes.
  • Configure — authentication contexts, environment variables, and Docker setup.
  • CLI Reference — complete command reference for all 60+ resource types.