Skip to content

dapcli

dapcli is a headless CLI for the Dell Automation Platform orchestrator that drives the REST API directly so blueprints, deployments, and secrets can be managed from a script 1. It fills the gap left by the portal web UI and Dell’s own Python SDKs, which let the orchestrator drive Ansible playbooks and Terraform plans, not the other way around.

The tool orchestrates authentication, generic REST interactions, and specialized plugin-based infrastructure management through a modular architecture. It supports two authentication paths: an interactive OIDC handshake that persists session cookies, and a non-interactive client-credentials flow that mints Bearer tokens for CI or headless automation 2. These tokens are then used by the generic REST client to interact with the platform’s v3.1 API endpoints for blueprints, secrets, and inventory 3.

diagram
Subsystem Description
CLI Interface Top-level Click group registration and global flag handling 1.
Authentication OIDC token mint, browser login, and client-credentials exchange 4.
REST API Layer Generic v3.1 REST client handling bearer token injection and request execution 3.
Plugin Subsystems Specialized command groups for blueprints, secrets, inventory, and deployments 1.