Install CLI
Generate API Credential
First of all, you need to generate the API credential:
Go to the account page in the console
Click
Create Credential
A new credential will be created:
NOTE: please download the secret key immediately. Once the popup is closed, there is no way to find the secret key.
Install CLI
We currently provides official CLI builds for Linux and Mac.
Linux x86_64
Mac OS X 10.7 (lion) or later
or download binary from https://github.com/hyperhq/pi/releases
Configure pi
In order for the CLI to find and access a region, it needs a configuration file, which, by default, is located at ~/.pi/config
.
Check the pi configuration
Check that pi is properly configured by getting the region information:
Last updated