# Agentuity CLI Auth Machine Setup

> Set up machine authentication by uploading a public key for self-hosted infrastructure. Requires authentication. Use for managing authentication credentials

- Skill: `aibot88/agentuity-cli-auth-machine-setup` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add aibot88/agentuity-cli-auth-machine-setup`
- Raw SKILL.md: https://api.skillmd.com/api/skills/aibot88/agentuity-cli-auth-machine-setup/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: Apache-2.0
- Author: aibot88 (https://skillmd.com/u/aibot88)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/aibot88/agentuity-cli-auth-machine-setup

---


# 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

| Option | Type | Required | Default | Description |
|--------|------|----------|---------|-------------|
| `--file` | string | Yes | - | 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"
}
```

| Field | Type | Description |
|-------|------|-------------|
| `success` | boolean | Whether the setup succeeded |
| `orgId` | string | The organization ID |

