NIFCLOUD Command-Line Tools
Project description
nifcloud-cli
Universal Command Line Interface for NIFCLOUD Services
Requirements
- Python 3.7 or later
How to Install
Using pip
$ pip install nifcloud-cli
$ nifcloud --version
Using MSI installer (Windows only)
- Download the MSI installer from Release.
- Run the downloaded MSI installer.
- Check the nifcloud-cli from command prompt.
C:\> nifcloud --version
Using docker
$ docker run -it --rm ghcr.io/nifcloud/nifcloud-cli --version
Usage
Set credentials
You can configure credentials via environment variables or nifcloud configure
command.
via environment variable
- 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
via nifcloud configure
command
$ 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%
)
Show available services
$ nifcloud help
Show available actions for the service
$ nifcloud computing help
Show available parameters for the action
$ nifcloud computing create-key-pair help
Run the command actually
$ nifcloud computing create-key-pair --key-name foobar123 --password foobar123
License
See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nifcloud_cli-1.15.0.tar.gz
(126.3 kB
view hashes)
Built Distribution
Close
Hashes for nifcloud_cli-1.15.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00e78712b65f78d374755b7b5724d141bb715e6e38f30671d17fbb946eb6e71a |
|
MD5 | e21b5983680ebb227ec42778a4e2fb66 |
|
BLAKE2b-256 | d1effba31c41a80cec2ca28ac1499b98ea6dc0588131085105317f131bf86717 |