CLIlocalesy login
localesy login
Authenticate the CLI with Localesy using a secure browser-based login.
Synopsis
localesy login [--env <name>]
Description
Authenticates the CLI with Localesy. login opens a Localesy URL in your browser, you sign in with your provider (for example Github), and the browser hands the session back to the CLI automatically.
You only need to log in once per machine - the CLI stores your session locally and refreshes it as needed. The session is written to ~/.localesy/auth.json.
Note: the CLI never talks to third-party auth providers directly. The whole login flow is proxied through Localesy over TLS, so your credentials and provider details stay on our side.
Options
| Option | Description |
|---|---|
--env <name> | Authenticate against a specific Localesy environment. |
Examples
localesy login
localesy login --env production
See also
localesy logout- sign out and remove local credentials.- Configuration - where credentials and config are stored.
Was this helpful?
Prev
Next