Skip to main content
phala config is deprecated. The CLI now uses profile-based credentials stored in ~/.phala-cloud/credentials.json. See profiles and switch.

Usage

phala config <subcommand> [args] [options]

Subcommands

config get

Get a configuration value.

Arguments

ArgumentRequiredDescription
keyYesConfiguration key to retrieve

Examples

$ phala config get api_prefix
$ phala config get default_region

config set

Set a configuration value.

Arguments

ArgumentRequiredDescription
keyYesConfiguration key to set
valueYesValue to assign to the key

Examples

$ phala config set api_prefix https://custom-api.example.com
$ phala config set default_region us-west-2

config list

List all configuration values. Aliases: config ls

Options

FlagShortDefaultDescription
--json-jfalseOutput in JSON format

Examples

$ phala config list
$ phala config ls
$ phala config ls --json