org list auth

List authorization information about the orgs you created or logged into.

This command uses local authorization information that Salesforce CLI caches when you create a scratch org or log into an org. The command doesn’t actually connect to the orgs to verify that they’re still active. As a result, this command executes very quickly. If you want to view live information about your authorized orgs, such as their connection status, use the “org list” command.

force:auth:list

auth:list

Flag Name (Long)Flag Name (Short)Description
‑‑flags‑dirN/AType: Value

Import flag values from a directory.
‑‑jsonN/AType: Boolean

Format output as json.

List local authorization information about your orgs: