---
url: https://docs.mochiexec.io/reference/cli/mochi_vault_preset_connect.md
description: Sign in to a provider
---

# mochi vault preset connect

Sign in to a provider

## Synopsis

Runs the provider's sign-in: 1Password's unlock prompt, or the AWS SSO login in your browser.

```shell
mochi vault preset connect [flags]
```

## Options

| Flag | Type | Description |
|------|------|-------------|
| `-h, --help` |  | help for connect |
| `-o, --output` | `string` | Output format: text or json (default "text") |
| `--preset` | `string` | Preset to sign in to (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
