vlt / docs

  • PricingBenchmarks (opens in new window)Community (opens in new window)Feedback
  • Overview
  • bugs
  • build
  • cache
  • config
  • create
  • docs
  • exec-cache
  • exec-local
  • exec
  • help
  • init
  • install
  • list
  • login
  • logout
  • pack
  • ping
  • pkg
  • publish
  • query
  • registry
  • repo
  • run-exec
  • run
  • setup
  • token
  • uninstall
  • version
  • whoami
  • Options
  • See also
  1. Client
  2. /
  3. Commands
  4. /
  5. login

vlt login

Usage:

Terminal
$ vlt login

Authenticate against a registry, and store the token in the appropriate config file for later use.

There is no default registry, so a registry must either already be configured or be provided with --registry=<url>. On success the registry is written to the project's vlt.json, so that it applies to this project only.

Options

FlagDescription
--registry=<url>Registry URL to authenticate against. Saved to vlt.json.
--identity=<name>Identity namespace used to store auth tokens.
--config=<user|project>Which config file to write the registry to. Defaults to project.

See also

  • Working with Named Registries
  • Authentication
  • vlt setup

PreviouslistNextlogout

On this page

  • Options
  • See also
Edit this page

Deploy your package on vlt.io

Publish scoped and private packages, manage organizations and access, and give every developer and CI environment a consistent source for public and private JavaScript dependencies.

Publish now