Skip to main content

nifcloud-cli

Test PyPI

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)

  1. Download the MSI installer from Release.
  2. Run the downloaded MSI installer.
  3. 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.

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nifcloud_cli-1.17.0-py2.py3-none-any.whl (135.5 kB view details)

Uploaded Python 2Python 3

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

Hashes for nifcloud_cli-1.17.0.tar.gz
Algorithm Hash digest
SHA256 7f8af23e7f9f2fc94c2b221b7d6ce817c49c70fd2a07504178b20730f87feeea
MD5 0d83cf941352f9ce6687dcca2eb1914c
BLAKE2b-256 b9e1dea3feb641cab845a880ce62dcf42fafdd912cc3dc2a4a2882aedb4de8a2

See more details on using hashes here.

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

Hashes for nifcloud_cli-1.17.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 457a6f3d41dda5cbd4da58ed94df98bc963db4244c38a6a6fb93030f9e06d278
MD5 b8ef3391ccdc4b1839e93c4831ba3165
BLAKE2b-256 c5a4a6dd65d8ed138843d23ddf378e5bb3d5f303384546375966468d27c111ff

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.17.0 This release

2 files

1.16.0

2 files

1.15.0

2 files

1.14.0

2 files

1.13.0

2 files

1.12.0

2 files

1.11.0

2 files

1.10.0

2 files

1.9.0

2 files

1.8.0

2 files

1.7.0

2 files

1.6.0

2 files

1.5.2

2 files

1.5.1

2 files

1.5.0

2 files

1.4.2

2 files

1.4.1

2 files

1.4.0

2 files

1.3.0

2 files

1.2.0

2 files

1.1.1

2 files

1.1.0

2 files

1.0.5

2 files

1.0.2

2 files

1.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page