elnora-admin

分类: 测试与安全 | 上传者: Elnora-AIElnora-AI | 下载: 0 | 版本: v1.0(最新)

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":"..

更新日志: Source: GitHub https://github.com/Elnora-AI/elnora-cli

目录结构

当前层级: skills/elnora-admin/

SKILL.md

登录后下载/点赞/收藏 ❤ 4 | ★ 0
评论 0

请先登录后评论。

还没有评论,快来第一个发言吧。