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 Execute a single command to request credentials, obtain approval, and provision access automatically.
AWS Role Assumption Extend existing AWS CLI workflows with seamless role assumption using
p0 aws role assume
.Multi-Cloud Support Provides subcommands for AWS, GCP, Azure AD, Okta, Google Workspace, and additional providers.
SSH JIT access Request and establish SSH sessions through a controlled just-in-time workflow.
Integrations Supports integration with standard organizational approval channels (e.g., Slack, email) and enterprise Identity Providers.
Installation Overview
You must have Node.js v22+, npm
, and the AWS CLI & Session Manager plugin to enable AWS workflows. Platform-specific guides include the Az CLI for Entra and the gCloud CLI for GCP.
Windows Installation Guide (PowerShell) Step-by-step with Node.js MSI, npm, optional nvm-for-Windows, execution-policy fixes, proxy setup, and AWS CLI prerequisites.
macOS Installation Guide (bash/zsh) Via Homebrew or nvm, Gatekeeper unblocking, npm permissions fixes, proxy settings, and AWS CLI & Session Manager setup.
Last updated