Universal Command Line Interface for NIFCLOUD Services
- Python 3.7 or later
$ pip install nifcloud-cli
$ nifcloud --version
- Download the MSI installer from Release.
- Run the downloaded MSI installer.
- Check the nifcloud-cli from command prompt.
C:\> nifcloud --version
$ docker run -it --rm ghcr.io/nifcloud/nifcloud-cli --version
You can configure credentials via environment variables or nifcloud configure
command.
- Linux
$ export NIFCLOUD_ACCESS_KEY_ID=<Your NIFCLOUD Access Key ID>
$ export NIFCLOUD_SECRET_ACCESS_KEY=<Your NIFCLOUD Secret Access Key>
$ export NIFCLOUD_DEFAULT_REGION=jp-east-1
- Windows
C:\> set NIFCLOUD_ACCESS_KEY_ID=<Your NIFCLOUD Access Key ID>
C:\> set NIFCLOUD_SECRET_ACCESS_KEY=<Your NIFCLOUD Secret Access Key>
C:\> set NIFCLOUD_DEFAULT_REGION=jp-east-1
$ nifcloud configure
NIFCLOUD Access Key ID [None]: <Your NIFCLOUD Access Key ID>
NIFCLOUD Secret Access Key [None]: <Your NIFCLOUD Secret Access Key>
Default region name [jp-east-1]: jp-east-1
Default output format [None]:
config file is saved under the .nifcloud
directory in your home directory ($HOME
or %UserProfile%
)
$ nifcloud help
$ nifcloud computing help
$ nifcloud computing create-key-pair help
$ nifcloud computing create-key-pair --key-name foobar123 --password foobar123
See LICENSE.