CLI module that provides authentication commands for the Backstage CLI, enabling login, logout, and credential management for Backstage instances.
| 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 |