Skip to 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.

  • Intuitive CLI


    Consistent scm <action> <category> <resource> structure across 60+ resource types. Easy to learn, easy to script.

  • Bulk Operations


    Load configurations from YAML files for efficient batch processing. Dry-run mode previews changes before applying.

  • Validated Input


    Pydantic models validate every field before sending to the API. Clear error messages when something is wrong.

  • Multi-Tenant Contexts


    Named authentication contexts let you switch between SCM tenants instantly. 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 Docker images for AMD64 and ARM64. Mount your contexts and run anywhere.


How It Works

flowchart LR
    A["Create\nContext"] --> B["Authenticate\nto SCM"]
    B --> C["Run CLI\nCommands"]
    C --> D["Validate\nInput"]
    D --> E["Call\nSCM API"]
    E --> F["Display\nResults"]

Get Started

  • Install


    Prerequisites, installation, and credential setup.

    Installation

  • Quick Start


    Create a context and run your first command in minutes.

    Getting Started

  • Configure


    Authentication contexts, environment variables, and Docker setup.

    Configuration

  • CLI Reference


    Complete command reference for all 60+ resource types.

    CLI Reference