atmos auth whoami
Display the current authentication context, including the effective identity and associated credentials. Useful for verifying which account is active and troubleshooting identity or session issues.
Usage
atmos auth whoami [--identity <name>] [--output json]
Examples
# Show current identity (human-friendly)
atmos auth whoami
# Interactively select identity to inspect
atmos auth whoami --identity
# Show a specific identity
atmos auth whoami --identity dev-admin
# Use short form of identity flag
atmos auth whoami -i dev-admin
# Interactive selection with short form
atmos auth whoami -i
# JSON output (redacts home directory from paths)
atmos auth whoami --output json
Arguments
- n/a
- No positional arguments.