# What waits for you

> What coline holds for your approval, what stays in the app, and how secrets are passed.

Source: https://docs.coline.app/cli/approvals

## Held for your approval

From the command line, these wait for your OK in Coline instead of happening at once:

* Sending and replying to mail.
* Event invites, updates and RSVPs that email people.
* Sharing something with people outside your workspace.
* Running an app's tool, or code in a sandbox, when it needs your approval.

A held command prints the link where you approve it and exits with code 10. That isn't a failure: tell whoever ran it that it's waiting, not that it was sent. With `--json`, the link is in `link`.

Mail and invites go out at once only when you've turned on **AI clients send without approval** in Mail settings in Coline. Otherwise they wait in your Outbox and expire unsent after 7 days. Mail from an [agent profile](/cli#sign-in-a-bot) always waits, whatever that setting says.

```bash
coline mail outbox
coline mail outbox cancel <id> --confirm
```

`coline mail outbox` lists what's waiting to go out, and `cancel` stops one. Approving happens in Coline.

## In the app only

The command line can't do these. `coline open` takes you to the place in Coline where you can.

* Approving what an agent or a teammate asked for: held mail, crew and computer requests, Code, held shares and invites, and integration requests.
* Starting a run a crew member proposed on an alert card.
* Folders and terminal sessions on your own computers.
* Installing an app, and the access it holds.
* Billing and payment.
* Deleting or transferring a workspace or an account.
* Sign-in and security settings: sign-in emails, password, two-step verification, passkeys, and signing sessions out.

## Secrets

A secret, like a service's key, never goes on the command line, where your shell history and other programs could see it. A command that takes one gives you other ways:

```bash
coline integrations connect monday --values-file monday.json
cat monday.json | coline integrations connect monday --values-stdin
coline code environment set -w acme --project-id <id> --name STRIPE_KEY --value-file key.txt
coline do code.environment.set -w acme -f projectId=<id> -f name=STRIPE_KEY -F value=@key.txt
```

* `--<field>-file <path>` or `--<field>-stdin` on the command, or the field inside `--input`.
* `-F field=@file` or `-F field=@-` with `coline do`.
* At a terminal, coline asks for it and doesn't show what you type.

Typed as a flag or inside `--json`, it is refused. Without a terminal, a missing secret is an error that names these flags. `--dry-run` shows it as `***`, and errors never include it. `coline schema <action>` marks which fields are secret.
