Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 902 Bytes

switch.md

File metadata and controls

63 lines (42 loc) · 902 Bytes

phala switch

Switch between authentication profiles.

Usage

phala switch [profile-name]

Arguments

Name Required Description
profile-name No Name of the profile to switch to. If omitted, shows interactive picker

If no profile name is provided, shows an interactive picker.

Examples

Switch to specific profile

$ phala switch work
✓ Switched to profile: work

Interactive profile picker

$ phala switch
? Select a profile:
  default
❯ work
  personal

✓ Switched to profile: work

Verify active profile

$ phala switch work
✓ Switched to profile: work

$ phala status
✓ Authenticated as work@example.com
Profile: work

Switch in scripts

#!/bin/bash
phala switch work
phala deploy -n work-app

phala switch personal
phala deploy -n personal-app