Skip to content

edgible config

Manage CLI configuration

Set a configuration value

Terminal window
edgible config set <key> <value> [flags]

Examples

Terminal window
edgible config set organizationId 8f1c… # switch the active organization
edgible config set wireguardMode userspace # explicit host override
edgible config set wireguardGoBinary /opt/homebrew/bin/wireguard-go

Session credentials (accessToken, idToken, refreshToken, devicePassword) cannot be set here. Change the session with edgible auth login.

Remove a configuration value (override keys then fall back to platform/agent resolution)

Terminal window
edgible config unset <key> [flags]

Examples

Terminal window
edgible config unset wireguardGoBinary # the agent resolves the binary itself again
edgible config unset awsProfile

Only optional machine-global preferences are unsettable. Identity and session keys have dedicated verbs (edgible auth logout, edgible profile delete <name>).

Get a configuration value

Terminal window
edgible config get <key> [flags]

Examples

Terminal window
edgible config get organizationId
ORG=$(edgible config get organizationId) # stdout carries the value and nothing else

Exit codes

  • 0 — the key has a value, or is an unset override key

  • 4 — the key is valid but not set

  • 2 — the key is unknown, or is a session credential

Aliases: ls

List all configuration values (session credentials are redacted)

Terminal window
edgible config list [flags]

Examples

Terminal window
edgible config list
edgible config list | jq -r .organizationId

Session credentials come back as [REDACTED]: you can see that they are set, without their values reaching a terminal or a CI log.

Reset the CLI configuration

Terminal window
edgible config reset [flags]
FlagDescription
-y, --yesSkip the confirmation prompt

Examples

Terminal window
edgible config reset
edgible config reset --yes # unattended: no confirmation prompt