elnora-admin
This skill should be used when the user asks to "log in", "check auth", "create API key", "revoke API key", "check health", "submit feedback", "view audit log", "feature flags", "shell completions", "account details", "accept terms", "validate token", "elnora setup", or any task involving Elnora Platform authentication, administration, or diagnostics. --- # Elnora Admin & Diagnostics Authentication, API key management, account settings, health checks, feature flags, audit logs, feedback, and shell completions. ## Invocation ``` CLI="uv run --project ${CLAUDE_PLUGIN_ROOT} elnora" ``` ## Authentication ### Login ```bash $CLI auth login $CLI --compact auth login --api-key <KEY> ``` Interactive login prompts for the API key and saves to `~/.elnora/config.toml`. The `--api-key` flag is insecure (visible in process listings) -- prefer interactive prompt or env var. Keys must start with `elnora_live_` and be 20+ characters. ### Check Auth Status ```bash $CLI --compact auth status # -> {"authenticated":true,"totalProjects":N} ``` Quick way to verify the CLI is properly configured. ### Logout ```bash $CLI --compact auth logout # -> {"loggedOut":true,"removed":"~/.elnora/config.toml"} ``` Removes saved credentials from disk. ### Validate Token ```bash $CLI --compact auth validate $CLI --compact auth validate --token <TOKEN> ``` Validates the current API key (or a specific token). Useful for debugging auth issues. ## API Key Management ### Create API Key ```bash $CLI --compact api-keys create --name "CI Pipeline" $CLI --compact api-keys create --name "Agent Key" --scopes "read,write" ``` | Flag | Required | Notes | |------|----------|-------| | `--name` | Yes | Key name for identification | | `--scopes` | No | Comma-separated scope list | **IMPORTANT:** The key value is only shown once in the response. Store it securely. ### List API Keys ```bash $CLI --compact api-keys list ``` ### Revoke API Key ```bash $CLI --compact api-keys revoke <KEY_ID> # -> {"revoked":true,"keyId":"..
Changelog: Source: GitHub https://github.com/Elnora-AI/elnora-cli
No comments yet. Be the first one!