ownstack profile
A profile is a saved control-plane endpoint plus an auth token. Each profile lives at ~/.ownstack/profiles/<name>.
List & show
$ ownstack profile list
budbooks
* haven (active)
ownstack
$ ownstack profile show
API URL: https://api.ownstack.org
Active profile: ownstack
Token: 9242e4bc…
Switch
$ ownstack profile use <name>
Always check before state-changing commands
The CLI does not warn when deploy, db, or ssh would run against the wrong profile. Run ownstack profile show first if you've been switching contexts.
Adding profiles
$ ownstack login # creates/refreshes the active profile
$ ownstack login --api=https://api.example.com # new profile pointing at a different control plane
$ ownstack login --token <token> # skip browser, paste a token directly
--token is useful for CI environments and headless machines.