NIFCLOUD Command-Line Tools
Project description
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.
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.17.0.tar.gz
(127.0 kB
view details)
Built Distribution
File details
Details for the file nifcloud_cli-1.17.0.tar.gz
.
File metadata
- Download URL: nifcloud_cli-1.17.0.tar.gz
- Upload date:
- Size: 127.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
7f8af23e7f9f2fc94c2b221b7d6ce817c49c70fd2a07504178b20730f87feeea
|
|
MD5 |
0d83cf941352f9ce6687dcca2eb1914c
|
|
BLAKE2b-256 |
b9e1dea3feb641cab845a880ce62dcf42fafdd912cc3dc2a4a2882aedb4de8a2
|
File details
Details for the file nifcloud_cli-1.17.0-py2.py3-none-any.whl
.
File metadata
- Download URL: nifcloud_cli-1.17.0-py2.py3-none-any.whl
- Upload date:
- Size: 135.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
457a6f3d41dda5cbd4da58ed94df98bc963db4244c38a6a6fb93030f9e06d278
|
|
MD5 |
b8ef3391ccdc4b1839e93c4831ba3165
|
|
BLAKE2b-256 |
c5a4a6dd65d8ed138843d23ddf378e5bb3d5f303384546375966468d27c111ff
|