trio profile
Manage local login and server-endpoint profiles. The full form is trio auth profile.
bash
trio profile list
trio profile show
trio profile use dev --base-url https://pytrio.com
trio profile remove devSubcommands
list
bash
trio profile listList all locally saved profiles. Reads local configuration only without making network requests.
show
bash
trio profile showShow the active profile configuration. Reads local configuration only; use trio status to verify that credentials remain valid.
use
bash
trio profile use <NAME> [--base-url <URL>]Switch to an existing profile, or create/update a named profile.
| Argument / Option | Description |
|---|---|
<NAME> | Target profile name; default and (default) select the default profile |
--base-url <URL> | Set the service base URL for this profile |
remove
bash
trio profile remove <NAME>Remove the specified named profile.
Migration Note
v0.2.11 removes the old trio env command; use trio profile instead. Existing local configuration, pytrio.configure(env=...), and PYTRIO_ENV continue to work; see Environment Configuration.