bl login
Login to BlaxelSynopsis
Authenticate with Blaxel to access your workspace. A workspace is your organization’s isolated environment in Blaxel that contains all your resources (agents, jobs, sandboxes, models, etc.). You must login before using most Blaxel CLI commands. Authentication Methods:- Browser OAuth (default) - Interactive login via web browser
- API Key - For automation and scripts (set BL_API_KEY environment variable)
- Client Credentials - For CI/CD pipelines (set BL_CLIENT_CREDENTIALS)
- If BL_CLIENT_CREDENTIALS is set, uses client credentials
- If BL_API_KEY is set, uses API key authentication
- Otherwise, shows interactive menu to choose browser or API key login
Interactive login (shows menu to choose method)
bl login my-workspaceLogin without workspace (will prompt for workspace)
bl loginAPI key authentication (non-interactive)
Client credentials for CI/CD
Options
Options inherited from parent commands
SEE ALSO
- bl - Blaxel CLI is a command line tool to interact with Blaxel APIs.
