npm.io
1.0.1 • Published yesterdayCLI

@nex-x-spark/env-vault

Licence
Version
1.0.1
Deps
5
Size
44 kB
Vulns
0
Weekly
0

@nex-x-spark/env-vault

This is the Command Line Interface (CLI) tool for Nex-X ENV Vault. It allows developers to securely log in, fetch environment variables, and run applications without storing sensitive secrets locally in .env files.

Installation

You can install this CLI globally via NPM:

npm install -g @nex-x-spark/env-vault

Usage

  1. Login to the Vault Authenticate using your email and password:

    nexenv login --email developer@nexx.local --password Password123!
  2. Check Session Status Verify who is currently logged in:

    nexenv whoami
  3. List Available Projects View all projects you have access to:

    nexenv projects
  4. Pull Secrets (Optional) Manually download secrets to an .env file (not recommended for production):

    nexenv pull --project GymFlow --env development
  5. Run Applications Securely (Recommended) Inject secrets directly into a process without saving them to disk:

    nexenv run --project GymFlow --env development -- npm run dev
  6. Logout Clear your session credentials:

    nexenv logout

About Us

Nex-X Spark is dedicated to building secure and developer-friendly tools.