Files
backstage/packages/cli-module-auth
Patrik Oldsberg 4d25b4b784 Address remaining PR review comments
- Fix getAllInstances to handle empty instance array without throwing
- Persist updated token expiry timestamps to disk after refresh
- Mark internal httpJson helpers as @internal instead of @public

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-03-17 20:53:10 +01:00
..
2026-03-17 20:53:10 +01:00
2026-03-17 20:53:10 +01:00

@backstage/cli-module-auth

CLI module that provides authentication commands for the Backstage CLI, enabling login, logout, and credential management for Backstage instances.

Commands

Command Description
auth login Log in the CLI to a Backstage instance
auth logout Log out the CLI and clear stored credentials
auth show Show details of an authenticated instance
auth list List authenticated instances
auth print-token Print an access token to stdout (auto-refresh if needed)
auth select Select the default instance

Documentation