Skip to main content

Command: phala login

Syntax

phala login [options] [<api-key>]

Description

Authenticate with Phala Cloud

Arguments

ArgumentDescription
<api-key>?API key (triggers device flow if omitted)

Options

OptionDescription
--manualEnter API key manually
--no-openSkip browser launch
--profile <value>Profile name (defaults to workspace slug)
--print-tokenPrint token to stdout without saving
--url <value>Custom API endpoint URL

Global Options

OptionDescription
-h, --helpShow help information for the current command
-v, --versionShow CLI version
--api-token TOKEN, --api-key TOKENAPI token used for authentication
-j, --json, --no-jsonOutput in JSON format
--api-version <value>API version to use (e.g. 2025-10-28, 2026-01-21)

Examples

  • Display help:
phala login --help