Skip to main content

nebula-cli

This project is used with the Nebula Server to grant shell script and CLI access to the Provisioning API.

On newly launched Nebula user instances this program can be in conjection with the system's provisioning system to-

  • Notify Nebula when provisioning has completed,
  • Change the Name of the instance without granting permission for the machine to edit other AWS Tags,
  • Restrict access to the machine to a specific user.

Configuration

The configuration file will be looked for in these places and in this order, using the first readable file that is found.

  • ./.nebulacli (current working directory)
  • ~/.nebulacli
  • /etc/nebulacli

The format of the file is simple-

token_id = d9e5d9ba0735
token = 6566b5d5-90cb-4529-81c5-565a4b10a5cd
url = https://nebula.example

Install

This project can be installed using pip on a python3 system.

For Ubuntu16 that means settings up python3 and pip, as the python2 variants will not work-

apt-get install python3-pip

Now you can run the install-

pip3 install nebulacli

Now the program should be available as nebulacli to the system.

Examples

To tell the Nebula that provisioning is finished and the system is ready for use:

nebulacli set_status Live

To tell Nebula the prefered hostname for the system (allowing Nebula to set the Name tag in AWS):

nebulacli set_name $(cat /etc/hostname)

Help

This project is build using the click library, and if you run it with no options an up to date help menu will appear. From there you can get help on specific commands by using the --help flag when calling any of them.

Metadata

Release files for nebulacli 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for nebulacli 0.3.3
File Interpreter ABI Platform
nebulacli-0.3.3-py3-none-any.whl Python 3 none any Details

Release files / nebulacli-0.3.3-py3-none-any.whl

Download URL nebulacli-0.3.3-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
40d58888ffbe14a383eb775335be13885f6788a57bcb6ecc362e50e9f09233f4
BLAKE2b-256 checksum
How to use checksums
af01ffe1dd5e125b7b8dae652ef9d2e8681df891d687b91e65241750c161c90b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.2

Security for nebulacli 0.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page