Ably CLI
- Command
-
ably - Docs
- https://ably.com/docs/platform/tools/cli
env ABLY_ACCESS_TOKEN discovered $ ably login Acquired by the CLI — running ably login opens the auth flow and stores the credential.
env ABLY_API_KEY Create or manage API keys for an app from the Ably dashboard or via the Control API/CLI. Ably documents API keys as the credential used for Basic auth with the data-plane APIs; the value format is appId.keyId:keySecret and should only be used on trusted servers. See Basic auth and the key-management capability mappings on Access tokens.
env ABLY_TOKEN For client-safe data-plane access, issue a short-lived token instead of exposing an API key. Ably recommends JWTs: your trusted server uses your Ably API key to mint a JWT as described in Token auth. Ably also supports native Ably tokens issued via Ably's token flow. Use the approach described in Token auth; clients then present the resulting bearer token to Ably.