Auth
Authenticate the CLI and manage profiles (CLI-only).
Authenticate the CLI and manage profiles (CLI-only).
elnora auth login
Set up authentication by saving an API key to a profile
CLI-only
elnora auth login [options]| Parameter | Type | Required | Description |
|---|---|---|---|
apiKey | string | no | Elnora API key (elnora_live_...) |
apiKeyStdin | boolean | no | Read the API key from stdin instead of an argument Default: false. |
profile | string | no | Profile name to save key under Default: default. |
elnora auth logout
Remove saved credentials
Destructive · CLI-only
elnora auth logout [options]| Parameter | Type | Required | Description |
|---|---|---|---|
all | boolean | no | Remove all profiles Default: false. |
profile | string | no | Profile name to remove (default: 'default') |
elnora auth profiles
List all configured profiles
Read-only · CLI-only
elnora auth profileselnora auth status
Verify API key and show connection info
Read-only · CLI-only
elnora auth statuselnora auth validate
Validate a JWT or API key token
CLI-only
elnora auth validate [options]| Parameter | Type | Required | Description |
|---|---|---|---|
token | string | no | Token to validate (defaults to current API key) |