**Source URL:** https://limited.veevavault.dev/vault-dx/dx-reference/command-reference/status

Print the current user and vault connection status.

## vault status

Print the connection status for the current user. The command outputs four column-aligned lines: `DNS:`, `User:`, `Vault:`, and `Auth:`. It makes a live session check to confirm validity.

If no user is current, the command prints `Not logged in; run 'vault login' first.` and exits with code `1`. If the session is valid, `Auth:` reads `<label> — valid` and `User:` includes the user's ID. If the session is invalid or no session is stored, `Auth:` includes a prompt to re-authenticate and the command exits with code `1`.

### Usage

```sh
vault status
```

### Options

This command has no command-specific options.

This command also accepts the [global options](/vault-dx/dx-reference/command-reference/global-options/).

### Examples

#### Check connection status

```sh
vault status
```

```
DNS:   myorg.veevavault.com
User:  user@example.com (ID 12345678)
Vault: My Org Vault (ID 381843)
Auth:  Browser session — valid
```

---

**Previous:** [vault switch](/vault-dx/dx-reference/command-reference/switch)  
**Next:** [vault user](/vault-dx/dx-reference/command-reference/user)