Skip to content

Arubacloud/acloud-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

acloud-cli

ArubaCloud Command Line Interface - A CLI tool for interacting with Aruba Cloud APIs.

Installation

Windows

 # Download the latest release binary
 Invoke-WebRequest -Uri "https://github.com/Arubacloud/acloud-cli/releases/latest/download/acloud-windows-amd64.exe" -OutFile "acloud.exe"

 # (Optional) Move to a folder in your PATH, e.g. C:\acloud
 # Move-Item -Path .\acloud.exe -Destination C:\acloud\acloud.exe
 # Optionally, add C:\acloud to your PATH environment variable

 # Run from the command prompt:
 acloud.exe --help

Linux

# Download the latest release
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/acloud

macOS

# Download the latest release
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/acloud

Configuration

Before using acloud, you need to configure your Aruba Cloud API credentials.

Set Credentials

# Set both client ID and client secret
acloud config set --client-id YOUR_CLIENT_ID --client-secret YOUR_CLIENT_SECRET

# Set individual values
acloud config set --client-id YOUR_CLIENT_ID
acloud config set --client-secret YOUR_CLIENT_SECRET

View Configuration

acloud config show

Configuration is stored in ~/.acloud.yaml with secure file permissions.

Usage

# View all available commands
acloud --help

# View config command options
acloud config --help

Contributing

See CONTRIBUTING.md for development guidelines.

License

See LICENSE file for details.

About

ArubaCloud Command Line Interface

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages