Skip to content

vault status

Print the current user and vault connection 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.

vault status

This command has no command-specific options.

This command also accepts the global options.

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