返回 Skill 列表
extension
分类: 开发与工程无需 API Key

agentuity-cli-project-auth-init

为您的项目设置Agentuity认证。需要进行身份验证。用于管理身份验证凭据

person作者: jakexiaohubgithub

Project Auth Init

Set up Agentuity Auth for your project

Prerequisites

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

Usage

agentuity project auth init [options]

Options

| Option | Type | Required | Default | Description | |--------|------|----------|---------|-------------| | --skipMigrations | boolean | Yes | - | Skip running database migrations (run agentuity project auth generate later) |

Examples

Set up Agentuity Auth with database selection:

bunx @agentuity/cli project auth init

Output

Returns JSON object:

{
  "success": "boolean",
  "database": "string",
  "authFileCreated": "boolean",
  "migrationsRun": "boolean"
}

| Field | Type | Description | |-------|------|-------------| | success | boolean | Whether setup succeeded | | database | string | Database name used | | authFileCreated | boolean | Whether auth.ts was created | | migrationsRun | boolean | Whether migrations were run |