> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aihubmix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 管理密钥

> 使用管理密钥通过 CLI 或管理接口访问账户资源，了解它与模型调用 Key 的区别，以及创建、保管、到期和撤销操作。

管理密钥用于通过 CLI 或管理接口访问账户资源，例如查询账户信息和管理 API Key。调用模型时，请使用[API Key](/cn/console/api-keys)。

<h2 id="create-and-use">
  创建与使用
</h2>

1. 切换到要管理的账户，打开**管理密钥**。
2. 创建凭证，填写用途名称并选择到期时间。
3. 创建后立即保存完整密钥；之后列表只显示脱敏值。
4. 按 [AIHubMix CLI 指南](/cn/api/aihubmix-cli)登录或配置管理工具。

部分已有工具将这类凭证称为 **Access Key** 或 **Manage Key**。使用前确认工具需要的凭证类型，避免与模型调用 Key 混用。

<h2 id="permissions">
  谁可以管理
</h2>

个人账户本人和组织管理员可以管理相应账户的管理密钥。普通组织成员没有此入口。凭证的权限受当前账户与角色约束，不能用它绕过工作区或成员权限。

为不同管理工具分别命名凭证，便于在停用某个工具时单独撤销。

<h2 id="revoke-and-replace">
  到期、撤销与替换
</h2>

到期或删除后，使用该凭证的管理请求会被拒绝。替换时先创建新凭证，更新工具并验证，再删除旧凭证。

凭证泄露时，尽快撤销并检查相关管理操作。不要将管理密钥写入公开仓库、前端代码或日志。

相关：[API Key 管理](/cn/console/api-keys) · [成员与权限](/cn/enterprise/members) · [审计记录](/cn/enterprise/audit)

更新时间：2026-10-13


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.