CloudSignal Docs
CLI

CloudSignal CLI

Manage your CloudSignal organization from the terminal. Install, authenticate, and manage ACL policies without the dashboard.

The CloudSignal CLI lets you manage your organization from the terminal - the same way tools like supabase, wrangler, and vercel work.

Install

npm install -g @cloudsignal/cli

Verify the installation:

cloudsignal --version

Quick Start

Log in

cloudsignal login

This opens your browser for authentication. After logging in, the CLI stores a session token locally.

Fetch your ACL policy

cloudsignal acl get

Outputs the current policy as JSON. Pipe it to a file:

cloudsignal acl get > policy.json

Edit and deploy

Edit policy.json in your editor, then validate and deploy:

cloudsignal acl validate policy.json
cloudsignal acl update policy.json

Commands

CommandDescription
cloudsignal loginLog in via browser
cloudsignal logoutClear stored credentials
cloudsignal whoamiShow current auth status
cloudsignal acl getFetch current ACL policy
cloudsignal acl validate <file>Validate a policy file
cloudsignal acl update <file>Deploy a policy from file
cloudsignal acl simulateSimulate a pub/sub access check

Configuration

The CLI stores config and credentials in ~/.cloudsignal/:

FilePurpose
config.jsonAPI URL override (optional)
credentials.jsonSession tokens (auto-managed)

Environment Variables

VariableDescription
CLOUDSIGNAL_API_URLOverride the API base URL
CLOUDSIGNAL_DASHBOARD_URLDashboard URL (defaults to https://dashboard.cloudsignal.app)

Environment variables take precedence over ~/.cloudsignal/config.json.

Guides

On this page