Use the ably accounts command group to manage your Ably accounts and configured access tokens. These commands enable you to log in, switch between accounts, view account information, and log out.
Manage accounts
Use the following commands to log in, list configured accounts, switch between them, view current account details, and log out:
| Command | Description |
|---|---|
ably accounts current | Show the current Ably account. |
ably accounts list | List all locally configured Ably accounts. |
ably accounts login | Log in to an Ably account. |
ably accounts logout | Log out from an Ably account. |
ably accounts switch | Switch to a different Ably account. |
See also
- CLI reference — Full list of available commands.