# basemodo env list

List the App's Secrets by name, with who set each and when. Never values.

```sh
basemodo env list [OPTIONS]
```

## Arguments

- `--app <APP>`: The App whose Secrets to change. Default: the one named after the current folder.

Like every command, it also takes the [global options](https://basemodo.com/docs/cli#global-options) `--json` and `--api-url`.

## Examples

List the Secrets of the App of this folder:

```sh
basemodo env list
```

The same for another App:

```sh
basemodo env list --app lunch-rota
```

## Output

With `--json`, it prints {"secrets": [{"name", "updated_by", "updated_at"}], "changes": [{"name", "action", "by", "at"}], "warnings": [...]}, never a value. A warning names a Secret set before its name was refused, to rename.

## From an agent

Basemodo's [MCP](https://basemodo.com/docs/mcp) serves it as the tool [`env_list`](https://basemodo.com/docs/mcp/tools/env_list). It only reads, so an agent's client may run it without asking you. Its arguments are the command's, named as JSON keys: `app` (text). It answers what the command prints with `--json`.

## Explained in

- [Secrets](https://basemodo.com/docs/secrets)