PgBeam Docs
auth

auth status

Show current authentication status

Display the currently authenticated user, active profile, authentication method, organization, and email. If not authenticated, prints a warning with instructions to log in. Also available as the pgbeam whoami alias.

Usage

pgbeam auth status

Global options

All global options (--token, --profile, --project, --org, --json, --no-color, --debug) are also available on this command.

Examples

# Check who you are authenticated as
pgbeam auth status

# Same thing, using the alias
pgbeam whoami

# Get auth status as JSON for scripting
pgbeam auth status --json

Output

Displays profile name, authentication method, email, and organization ID. With --json, returns an object with authenticated, profile, method, orgId, and email fields.

On this page