Installing p0 CLI
P0 Security CLI Overview
The P0 Security CLI is the official command-line tool for managing just-in-time access to your cloud resources. Whether you need to assume AWS roles, SSH into instances, or request permissions on GCP, Azure AD, Okta, and more, the P0 CLI streamlines it all within your shell.
Key Features
Just-in-Time Access Automatically request, wait for approval, and provision credentials in a single command.
AWS Role Assumption
p0 aws role assume
workflows integrate seamlessly with your existing AWS CLIMulti-Cloud Support Built-in subcommands for AWS, GCP, Azure AD, Okta, Google Workspace, and more.
SSH JIT access Ability to request and access SSH sessions via JIT workflow
Integrations Works with your organization’s existing approval channels (Slack, email, etc.) and Identity Providers.
Installation Overview
You’ll need Node.js v22+ and npm
and the AWS CLI & Session Manager plugin for AWS workflows. We provide two platform-specific guides. For Entra we need Az CLI and for GCP we need gCloud CLI
Installation on Windows (PowerShell) Step-by-step with Node.js MSI, npm, optional nvm-for-Windows, execution-policy fixes, proxy setup, and AWS CLI prerequisites.
Installation on macOS (bash/zsh) Via Homebrew or nvm, Gatekeeper unblocking, npm permissions fixes, proxy settings, and AWS CLI & Session Manager setup.
Getting Started
Choose your platform to start using p0 CLI
Last updated