diff --git a/changes/23462-show-windows-mdm-wstep-options b/changes/23462-show-windows-mdm-wstep-options new file mode 100644 index 000000000000..8df6b9313946 --- /dev/null +++ b/changes/23462-show-windows-mdm-wstep-options @@ -0,0 +1 @@ +- Display Windows MDM WSTEP flags in `fleet --help`. diff --git a/server/config/config.go b/server/config/config.go index 821c8547fc90..bdfe0898dcf9 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -1316,19 +1316,6 @@ func (man Manager) addConfigs() { "calendar.periodicity", 0, "How much time to wait between processing calendar integration.", ) - - // Hide Microsoft/Windows MDM flags as we don't want it to be discoverable for users for now - betaMDMFlags := []string{ - "mdm.windows_wstep_identity_cert", - "mdm.windows_wstep_identity_key", - "mdm.windows_wstep_identity_cert_bytes", - "mdm.windows_wstep_identity_key_bytes", - } - for _, mdmFlag := range betaMDMFlags { - if flag := man.command.PersistentFlags().Lookup(flagNameFromConfigKey(mdmFlag)); flag != nil { - flag.Hidden = true - } - } } func (man Manager) hideConfig(name string) {