default.
default is a reserved name. You cannot create a connection called default; it survives only as a read-time alias for the provider’s default connection (and for vaults created before named-first connections existed).Name your connections
Pass--connection <name> to login. The name is arbitrary; pick what reads well. If you omit --connection, authsome login prompts you for a name (and fails with a usage error in non-interactive contexts such as --quiet or a non-TTY, so scripts must pass it explicitly).
login runs its own browser flow. The connections share the OAuth client_id/client_secret you configured for the provider, but each receives an independent access token bound to its own scopes.
For an API-key provider, each login opens a fresh local form so you paste a different key per connection.
Read from a specific connection
Every read command accepts--connection:
--connection, the command resolves the provider’s default connection from metadata.
List connections
inspect includes per-connection status, expiry, and scopes.
Switch the default
The default is a pointer stored in provider metadata. Point it at any existing connection withconnections set-default:
--force on login to re-authenticate an existing connection in place:
In the proxy
authsome run injects credentials from each provider’s default connection. Per-request connection selection is future work.
To run an agent against a non-default connection, point the default at it first:
Remove a connection
revoke does not yet target a single connection; it clears the provider entirely. To revoke only one connection at the provider, use the provider’s own UI and then logout locally.
When to use Connections vs Vaults/Principals
The full model is in Principal, Vault, and Identity.
What’s next
Principal, Vault, and Identity
The architectural namespaces.
CLI reference
Every command and flag.