Dyno Phi
ContentsCLIShow

phi auth

Sign in and inspect the active identity.

phi auth login

Sign in through your browser and save the sign-in as a profile.

terminal
phi auth login [KEY] [options]

Arguments

NameRequiredDescription
KEYOptional

Options

FlagValueDescription
--profilePROFILENamed profile to write.
--apiAPIBase URL to sign in to. Defaults to the profile's, then production.
--keyswitchUse an API key instead of signing in: KEY if given, else PHI_API_KEY, else a prompt.
--deviceswitchSign in from a machine with no browser, with a code.
--interactiveswitchAsk for the base URL instead of taking the default.

phi auth logout

Sign out: revoke the stored sign-in and remove the credential from the profile.

terminal
phi auth logout [options]

Options

FlagValueDescription
--profilePROFILENamed profile to clear.

phi auth profiles

List configured profiles and mark the active one.

terminal
phi auth profiles

phi auth whoami

Print the resolved identity for the active profile, with names where the API has them.

terminal
phi auth whoami

Client version 0.4.2.