A

Ably CLI

CLI discovered

Details
Command
ably
Docs
https://ably.com/docs/platform/tools/cli
Authentication
Ably access token + Ably access token env ABLY_ACCESS_TOKEN discovered
Ably access token bearer $ ably login

Acquired by the CLI — running ably login opens the auth flow and stores the credential.

Ably API key basic discovered
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.

Ably data-plane token or JWT compound discovered
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.