alicli documentation

auth

auth

Check transport configuration. Alibaba sign-in happens on the phone, by a human.

alicli auth
alicli doctor --json
Field or optionMeaning
MOBILERUN_API_KEYSecret vendor API credential. Configure securely; never include it in logs or examples.
MOBILERUN_DEVICE_IDThe currently provisioned device ID. A replacement phone may have a different ID.
MOBILERUN_BASE_URLOptional vendor API base URL override.
ALICLI_STORE_DIROptional local data directory override.
ALICLI_LANERequired attribution for send, contact, contact inspect and a search trigger.

The entry point loads a local .env if available, with already-set environment values taking precedence. The current transport’s authenticate method checks that a client/device can be configured. It does not perform an Alibaba login, verify the account on screen or prove that the API key works over the network.

Separate checks

Use doctor for device/feed reachability, and the phone’s human sign-in flow for account login. No CLI command should enter Alibaba credentials, solve a login challenge or switch accounts automatically. An agent harness consuming JSON needs the configured CLI environment; this build does not provide a customer OAuth portal.

install · quickstart · doctor