AgentSkillsCN

agentuity-cli-auth-apikey

显示当前已认证用户的 API 密钥。需进行身份验证。可用于管理身份验证凭据。

SKILL.md
--- frontmatter
name: agentuity-cli-auth-apikey
description: Display the API key for the currently authenticated user. Requires authentication. Use for managing authentication credentials
version: "0.1.24"
license: Apache-2.0
allowed-tools: "Bash(agentuity:*)"
metadata:
  command: "agentuity auth apikey"
  tags: "read-only fast requires-auth"

Auth Apikey

Display the API key for the currently authenticated user

Prerequisites

  • Authenticated with agentuity auth login

Usage

bash
agentuity auth apikey

Examples

Print the API key:

bash
bunx @agentuity/cli auth apikey

Output API key in JSON format:

bash
bunx @agentuity/cli --json auth apikey

Output

Returns JSON object:

json
{
  "apiKey": "string"
}
FieldTypeDescription
apiKeystringThe API key for the authenticated user