acloud-cli is the official Command Line Interface (CLI) for the Aruba Cloud Management Platform.
It allows developers, DevOps engineers, and platform operators to interact with Aruba Cloud APIs directly from the terminal for automation, scripting, and infrastructure management.
⚠️ Development Status
This CLI is under active development and is not production-ready.
Commands, APIs, and behavior may change between releases.
The Aruba Cloud CLI provides programmatic access to the following platform services:
- Project and organization management
- Block storage volumes, snapshots, backups, and restores
- Network resources such as VPCs, subnets, security groups, and VPNs
- Kubernetes as a Service (KaaS) cluster management
- Infrastructure lifecycle operations and automation workflows
This tool is designed for:
- Infrastructure as Code (IaC) workflows
- CI/CD pipelines
- Automation and scripting
- Advanced terminal-based cloud management
Precompiled binaries are available for Windows, Linux, and macOS.
No additional runtime dependencies are required.
Invoke-WebRequest `
-Uri "https://github.com/Arubacloud/acloud-cli/releases/latest/download/acloud-windows-amd64.exe" `
-OutFile "acloud.exe"acloud.exe --help
Optionally move acloud.exe to a directory included in your PATH.
curl -LO https://github.com/Arubacloud/acloud-cli/releases/latest/download/acloud-linux-amd64
chmod +x acloud-linux-amd64
sudo mv acloud-linux-amd64 /usr/local/bin/acloudcurl -LO https://github.com/Arubacloud/acloud-cli/releases/latest/download/acloud-linux-amd64-ubuntu20
chmod +x acloud-linux-amd64-ubuntu20
sudo mv acloud-linux-amd64-ubuntu20 /usr/local/bin/acloudIf you encounter GLIBC errors such as GLIBC_2.34 not found, use the -ubuntu20 binary.
curl -LO https://github.com/Arubacloud/acloud-cli/releases/latest/download/acloud-darwin-amd64
chmod +x acloud-darwin-amd64
sudo mv acloud-darwin-amd64 /usr/local/bin/acloudBefore using the CLI, you must configure your Aruba Cloud API credentials.
acloud config set \
--client-id YOUR_CLIENT_ID \
--client-secret YOUR_CLIENT_SECRETYou can also set values individually:
acloud config set --client-id YOUR_CLIENT_ID
acloud config set --client-secret YOUR_CLIENT_SECRETCredentials are stored securely in:
~/.acloud.yamlacloud config showacloud config set --client-id YOUR_CLIENT_ID --client-secret YOUR_CLIENT_SECRETContexts allow you to work with a specific project without repeatedly passing --project-id
acloud context set my-prod --project-id "YOUR_PROJECT_ID"
acloud context use my-prod# List projects
acloud management project list
# List block storage volumes
acloud storage blockstorage list
# List snapshots
acloud storage snapshot listManage multiple project contexts to simplify multi-environment workflows:
acloud context set prod --project-id "prod-project-id"
acloud context set dev --project-id "dev-project-id"
acloud context set staging --project-id "staging-project-id"
acloud context use prod
acloud context use dev
acloud context current
acloud context list
acloud context delete staging
```bash
## Usage
```bash
acloud --help
acloud config --helpacloud --debug network vpc list
# Short form
acloud -d network vpc listDebug mode enables:
- HTTP request and response logging
- Detailed JSON payloads
- Full error response details
Debug output is sent to stderr and does not interfere with command output.
📚 Full documentation is available at: https://arubacloud.github.io/acloud-cli/
The documentation website includes:
- Getting started guides
- Authentication and configuration references
- Complete command and resource documentation
- Examples and tutorials
- Versioned documentation for each CLI release
Local source files are available in the docs/ directory.
End-to-end (E2E) tests validate CRUD operations across all resource categories.
export ACLOUD_PROJECT_ID="your-project-id"
export ACLOUD_REGION="ITBG-Bergamo"./e2e/management/test.sh
./e2e/storage/test.sh
./e2e/network/test.sh
./e2e/container/test.shContainer (KaaS) tests require additional environment variables. See e2e/README.md for full instructions and prerequisites.
Please see CONTRIBUTING.md for development guidelines.
See the LICENSE file for licensing details.