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]
ParameterTypeRequiredDescription
apiKeystringnoElnora API key (elnora_live_...)
apiKeyStdinbooleannoRead the API key from stdin instead of an argument Default: false.
profilestringnoProfile name to save key under Default: default.

elnora auth logout

Remove saved credentials

Destructive · CLI-only

elnora auth logout [options]
ParameterTypeRequiredDescription
allbooleannoRemove all profiles Default: false.
profilestringnoProfile name to remove (default: 'default')

elnora auth profiles

List all configured profiles

Read-only · CLI-only

elnora auth profiles

elnora auth status

Verify API key and show connection info

Read-only · CLI-only

elnora auth status

elnora auth validate

Validate a JWT or API key token

CLI-only

elnora auth validate [options]
ParameterTypeRequiredDescription
tokenstringnoToken to validate (defaults to current API key)

On this page