# ry attach

> Attach a resource to an app: injects the connection URL as a managed secret.

```text
ry attach [options] <resource>
```

## Options

- `--to <app>`: The app to attach the resource to.

## Example

```bash
ry attach appdb --to web
```
