profile:set

Create or update a CLI profile (local only; never stores plaintext keys).

Reference for flywheel profile:set.

Command Group

Profile Commands

Summary

Create or update a CLI profile (local only; never stores plaintext keys).

Usage

flywheel profile:set <FLAGS>

Required flags

FlagValueDefaultChoicesDescription
--namestringProfile name.
--base_urlstringBase URL for the server.

Optional flags

FlagValueDefaultChoicesDescription
--api_key_envstringName of env var that holds the API key at runtime.
--api_key_keychainIf set, the CLI reads the API key from the OS keychain.
--default_formatstringOutput format default (json|tsv|csv).
--default_timeout_sintegerDefault request timeout in seconds.
--formatFORMATjson, tsv, csv, tableOutput format for command results.
--envPROFILEUse a configured CLI profile for this invocation.
--outPATHWrite output to a file path, or use - for stdout.
--openOpen browser-bound URLs when supported.
--no-retryDisable transient-error retries.
--retry-maxNMaximum transient-error retry attempts.
--waitBlock on async operations until a terminal state is reached.
--wait-timeoutSECONDS600Seconds to wait for --wait before timing out. Defaults to 600.
--allow-selfAllow mutating the currently active credential.
--timeoutSECONDSSet the per-request timeout budget in seconds.
--idempotency-keyKEYReuse an Idempotency-Key so ambiguous write failures can be retried with the same key.
--forceForce safety-gated operations where supported.
--yesSkip confirmation prompts for destructive operations.
--debugPrint structured request debugging with secrets masked.
--verbosePrint verbose progress for long-running operations.
-h, --helpShow this help.

Examples

Create prod profile pointing at FLYWHEEL_PROD_API_KEY.

flywheel profile:set --name prod --base_url=https://api.example --api_key_env=FLYWHEEL_PROD_API_KEY