Skip to main content

prefect config

prefect config [OPTIONS] COMMAND [ARGS]... 
View and set Prefect profiles.

prefect config set

prefect config set [OPTIONS] SETTINGS... 
Change the value for a setting by setting the value in the current profile.

Arguments

SETTINGS...
string
required
[required]

prefect config validate

prefect config validate [OPTIONS] 
Read and validate the current profile.Deprecated settings will be automatically converted to new names unless both are set.

prefect config unset

prefect config unset [OPTIONS] SETTING_NAMES... 
Restore the default value for a setting.Removes the setting from the current profile.

Arguments

SETTING_NAMES...
string
required
[required]

Options

--yes

prefect config view

prefect config view [OPTIONS] 
Display the current settings.

Options

--show-defaults
Toggle display of default settings.—show-defaults displays all settings, even if they are not changed from the default values.—hide-defaults displays only settings that are changed from default values.
--show-sources
Toggle display of the source of a value for a setting.The value for a setting can come from the current profile, environment variables, or the defaults.
--show-secrets
Toggle display of secrets setting values.