Skip to content

CLI

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 dev

Subcommands ​

list ​

bash
trio profile list

List all locally saved profiles. Reads local configuration only without making network requests.


show ​

bash
trio profile show

Show 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 / OptionDescription
<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.