SailPoint CLI
The CLI is a standalone terminal tool for interacting with your ISC tenant from the command line.
Install
macOS (Homebrew):
brew tap sailpoint-oss/tap
brew install sailpoint-cli
Windows: Download the latest .msi from the releases page. A pre-downloaded copy is at ./sail.exe in the repo root (v2.2.10).
Linux (Debian/Ubuntu):
sudo apt install ./sail_x.x.x_linux_amd64.deb
Linux (RHEL/Fedora):
sudo yum localinstall ./sail_x.x.x_linux_amd64.rpm
Configure
-
Create an environment:
sail env create myenv -
Set up authentication (choose one):
OAuth (recommended):
sail set auth oauthPersonal Access Token:
sail set pat
# Enter your Client ID and Client Secret when prompted
sail set auth pat -
Verify:
sail transform list
# or
just transforms
Environment Variables (CI/CD)
| Variable | Value |
|---|---|
SAIL_BASE_URL | https://{tenant}.api.identitynow.com |
SAIL_CLIENT_ID | Your PAT Client ID |
SAIL_CLIENT_SECRET | Your PAT Client Secret |
CLI vs SDK
| Use the CLI when you want to... | Use the SDK when you want to... |
|---|---|
| Run quick queries against your tenant | Build a custom application |
| Script simple automations in bash | Implement complex workflows |
| Test API calls interactively | Integrate SailPoint into existing code |
| Manage transforms, connectors, etc. | Handle errors and edge cases programmatically |