AgentSkillsCN

agentuity-cli-auth-machine-setup

通过上传公钥为自托管基础设施设置机器身份验证。需进行身份验证。可用于管理身份验证凭据。

SKILL.md
--- frontmatter
name: agentuity-cli-auth-machine-setup
description: "Set up machine authentication by uploading a public key for self-hosted infrastructure. Requires authentication. Use for managing authentication credentials"
version: "0.1.24"
license: Apache-2.0
allowed-tools: "Bash(agentuity:*)"
metadata:
  command: "agentuity auth machine setup"
  tags: "mutating slow requires-auth uses-stdin"

Auth Machine Setup

Set up machine authentication by uploading a public key for self-hosted infrastructure

Prerequisites

  • Authenticated with agentuity auth login
  • Organization context required (--org-id or default org)

Usage

bash
agentuity auth machine setup [options]

Options

OptionTypeRequiredDefaultDescription
--filestringYes-Path to the public key file (PEM format)

Examples

Upload ECDSA P-256 public key from file:

bash
bunx @agentuity/cli auth machine setup --file ./public-key.pem

Upload public key from stdin:

bash
cat public-key.pem | bunx @agentuity/cli auth machine setup

Output

Returns JSON object:

json
{
  "success": "boolean",
  "orgId": "string"
}
FieldTypeDescription
successbooleanWhether the setup succeeded
orgIdstringThe organization ID