# Agentuity CLI Cloud Secret Get

> Get a secret value. Requires authentication. Use for Agentuity cloud platform operations

- Skill: `majiayu000/agentuity-cli-cloud-secret-get` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/agentuity-cli-cloud-secret-get`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/agentuity-cli-cloud-secret-get/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-get

---


# Cloud Secret Get

Get a secret value

## Prerequisites

- Authenticated with `agentuity auth login`
- Project context required (run from project directory or use `--project-id`)

## Usage

```bash
agentuity cloud secret get <key> [options]
```

## Arguments

| Argument | Type | Required | Description |
|----------|------|----------|-------------|
| `<key>` | string | Yes | - |

## Options

| Option | Type | Required | Default | Description |
|--------|------|----------|---------|-------------|
| `--mask` | boolean | No | `true` | mask the value in output (default: true in TTY, false otherwise) |

## Examples

Get item details:

```bash
bunx @agentuity/cli secret get DATABASE_URL
```

Use no mask option:

```bash
bunx @agentuity/cli secret get STRIPE_SECRET_KEY --no-mask
```

## Output

Returns JSON object:

```json
{
  "key": "string",
  "value": "string"
}
```

| Field | Type | Description |
|-------|------|-------------|
| `key` | string | Secret key name |
| `value` | string | Secret value |

