Back to Backstage

@backstage/cli-module-auth

packages/cli-module-auth/README.md

1.51.0-next.21003 B
Original Source

@backstage/cli-module-auth

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

Commands

CommandDescription
auth loginLog in the CLI to a Backstage instance
auth logoutLog out the CLI and clear stored credentials
auth showShow details of an authenticated instance
auth listList authenticated instances
auth print-tokenPrint an access token to stdout (auto-refresh if needed)
auth selectSelect the default instance

Documentation