Quick start
Install, log in, run
Three steps from zero to your first query. No tokens or API keys to manage.
1
Install the CLI
One command — no tokens, no setup required
curl -fsSL https://data.iaasops.w3.cloud.ibm.com/install.sh | bash
Works on macOS and Linux. Installs to
~/.iaasops/bin/iaasops and updates your ~/.zshrc / ~/.bashrc.
Windows: run the same command from Git Bash or WSL (not PowerShell / cmd).
In Git Bash it installs
iaasops.exe to ~/.iaasops/bin and adds it to your Git Bash profile (~/.bash_profile / ~/.bashrc); open a new Git Bash window afterwards and run iaasops --version.
Native PowerShell / cmd installation is not supported yet.
2
Log in with IBM w3
Opens a browser window — sign in once, stay logged in for 24 hours
iaasops login
Your terminal will show a verification code and open
https://data.iaasops.w3.cloud.ibm.com/auth/device
in your browser. Sign in with your IBM w3 credentials, then click Approve.
3
Run any command
No API keys — your token is used automatically
# Search runbooks
iaasops rms-search -q "kubernetes pod crashloop"
# Query ICL logs
iaasops icl-logs --region us-south -q "pod crashloopbackoff" --start-date 2024-01-01T00:00:00Z
# Query Osprey metrics
iaasops osprey --region us-south -q 'up{job="rias"}'
# Search incidents
iaasops incident-query-elastic -q "storage volume failed" --limit 10
Access
Request a role in AccessHub
Roles are granted via AccessHub. Request the role that matches what you need. If a command returns 403 Forbidden, you need to raise a role request.
Need access? Raise a request in AccessHub
Select the iaasops-cli application and choose the relevant role from the list below.
- Start an Access RequestOn the AccessHub home page
- ApplicationChoose Application as the request type
- Search
iaasops-cliThat is the application name - Choose the relevant rolePick from the roles below and submit
iaasops_cli_read
Non-BNPP regions. Read access to all CLI tools.
rms-searchospreyosprey-alerts
icl-logsicl-alertactivity-tracker
etcd-graphqletcd-sqletcd-info
changes-text-queryincident-query-elastic
problem-ptask-query
iaasops_cli_icl_at_bnpp
BNPP regions only. ICL logs and Activity Tracker queries.
icl-logsicl-alertactivity-tracker
mzone2b7mzone2c7mzone2c7-zonelet01mzone2d7
rias-ng-eu-de-fra02-prodrias-ng-eu-de-fra04-prod
rias-ng-eu-de-fra05-prodrias-ng-etcd-eu-de-fra-prod
iaasops_cli_aiops
Internal AIOps team only.
Help
Common errors & fixes
After your AccessHub request is approved and the role is added to your w3 account, you must run
iaasops login again — roles are baked into your token at login time and do not update automatically.
403 No roles found in your tokenYour w3 account has no iaasops roles yet. Raise an AccessHub request for
iaasops_cli_read first.403 BNPP region requires …_bnpp roleRequest the matching BNPP-scoped role on AccessHub.
Session expired — run iaasops loginYour refresh token expired (24 h). Just run
iaasops login again.Could not reach iaasops-gatewayThe gateway may be down. Check with your team or retry in a few minutes.