← 返回
未分类 已验 中文

Halo Cli Auth

Use when working with Halo CLI login, bearer token or basic auth, profile setup, profile switching, current profile inspection, or fixing missing keyring cre...
适用于 Halo CLI 登录Bearer令牌或基本认证、配置文件设置与切换、当前配置文件检查及密钥环凭证修复等场景
Ryan Wang👍 ruibaby 来源
未分类 clawhub v0.1.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 490
下载
💾 0
安装
1
版本
#latest

概述

Halo CLI Auth

Use this skill for halo auth and halo auth profile.

If authentication is not set up yet, do this first before running post, single-page, plugin, theme, attachment, backup, moment, comment, or notification commands.

Commands

halo auth --help
halo auth login --help
halo auth profile --help

Main workflows:

  • halo auth login
  • halo auth current
  • halo auth profile list
  • halo auth profile current
  • halo auth profile get
  • halo auth profile use
  • halo auth profile delete
  • halo auth profile doctor

Common Flows

Login with bearer token:

halo auth login \
  --profile local \
  --url http://127.0.0.1:8090 \
  --auth-type bearer \
  --token <token>

Login with basic auth:

halo auth login \
  --profile local \
  --url http://127.0.0.1:8090 \
  --auth-type basic \
  --username admin \
  --password <password>

Inspect and switch profiles:

halo auth current
halo auth profile list
halo auth profile use production
halo auth profile get production --json

Diagnose broken credentials:

halo auth profile doctor
halo auth profile delete production --force
halo auth login --profile production --url https://halo.example.com --auth-type bearer --token <token>

Rules

  • In non-interactive mode, halo auth login requires --profile, --url, and --auth-type.
  • basic auth requires --username and --password.
  • bearer auth requires --token.
  • Use --json when another tool needs structured output.
  • profile delete is destructive; use --force in non-interactive mode.
  • Profile metadata lives in config, but secrets live in the system keyring.

Routing

  • Use halo-cli-content for posts and single pages.
  • Use halo-cli-search for public site search.
  • Use halo-cli-operations for themes, plugins, attachments, backups, and moments.
  • Use halo-cli-moderation-notifications for comments, replies, and notifications.

版本历史

共 1 个版本

  • v0.1.1 当前
    2026-03-30 19:07 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

business-ops

Halo Cli Moderation Notifications

ruibaby
用于管理 Halo 评论或回复、创建官方回复、列出未读通知、删除通知或标记通知为已读。
★ 0 📥 641
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 198 📥 68,290
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 687 📥 331,360