---
url: https://docs.mochiexec.io/reference/cli/mochi_vault_preset_render.md
description: Write a vault configuration from a preset
---

# mochi vault preset render

Write a vault configuration from a preset

## Synopsis

Writes the vault configuration for VAULT\_NAME from a preset, to stdout or --out. Create the vault from it with `mochi vault create --type external --config <file>`.

```shell
mochi vault preset render VAULT_NAME [flags]
```

## Options

| Flag | Type | Description |
|------|------|-------------|
| `-h, --help` |  | help for render |
| `--out` | `string` | Write the config to this path instead of stdout |
| `-o, --output` | `string` | Output format: text or json (default "text") |
| `--preset` | `string` | Preset to render (1password, aws-ssm, pass) |
| `--set` | `stringArray` | Set a preset option as key=value (repeatable) |

## Options inherited from parent commands

| Flag | Type | Description |
|------|------|-------------|
| `-L, --log-level` | `string` | Log verbosity level (debug, info, fatal) (default "info") |
| `--sync` |  | Sync flow cache and workspaces |

## See also

* [mochi vault preset](mochi_vault_preset.md) — Connect a vault to 1Password, pass, or AWS SSM
