nifcloud-cli
Universal Command Line Interface for NIFCLOUD Services
Requirements
- Python 3.8 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.
Release files for nifcloud-cli 1.17.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nifcloud_cli-1.17.0.tar.gz | 127.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nifcloud_cli-1.17.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size:262.5 kB
Release files / nifcloud_cli-1.17.0.tar.gz
| Download URL | nifcloud_cli-1.17.0.tar.gz |
|---|---|
| Size | 127.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f8af23e7f9f2fc94c2b221b7d6ce817c49c70fd2a07504178b20730f87feeea
|
|
BLAKE2b-256 checksum How to use checksums |
b9e1dea3feb641cab845a880ce62dcf42fafdd912cc3dc2a4a2882aedb4de8a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / nifcloud_cli-1.17.0-py2.py3-none-any.whl
| Download URL | nifcloud_cli-1.17.0-py2.py3-none-any.whl |
|---|---|
| Size | 135.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
457a6f3d41dda5cbd4da58ed94df98bc963db4244c38a6a6fb93030f9e06d278
|
|
BLAKE2b-256 checksum How to use checksums |
c5a4a6dd65d8ed138843d23ddf378e5bb3d5f303384546375966468d27c111ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|