# Agentuity CLI Cloud Secret Pull

> Pull secrets from cloud to local .env.production file. Requires authentication. Use for Agentuity cloud platform operations

- Skill: `majiayu000/agentuity-cli-cloud-secret-pull` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/agentuity-cli-cloud-secret-pull`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/agentuity-cli-cloud-secret-pull/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- License: Apache-2.0
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/agentuity-cli-cloud-secret-pull

---


# Cloud Secret Pull

Pull secrets from cloud to local .env.production file

## Prerequisites

- Authenticated with `agentuity auth login`
- Project context required (run from project directory or use `--project-id`)
- cloud deploy

## Usage

```bash
agentuity cloud secret pull [options]
```

## Options

| Option | Type | Required | Default | Description |
|--------|------|----------|---------|-------------|
| `--force` | boolean | No | `false` | overwrite local values with cloud values |

## Examples

Run pull command:

```bash
bunx @agentuity/cli secret pull
```

Use force option:

```bash
bunx @agentuity/cli secret pull --force
```

## Output

Returns JSON object:

```json
{
  "success": "boolean",
  "pulled": "number",
  "path": "string",
  "force": "boolean"
}
```

| Field | Type | Description |
|-------|------|-------------|
| `success` | boolean | Whether pull succeeded |
| `pulled` | number | Number of items pulled |
| `path` | string | Local file path where secrets were saved |
| `force` | boolean | Whether force mode was used |

