public GoConfigHolder loadConfigHolder(final String content, Callback callback) throws Exception {
        CruiseConfig configForEdit;
        CruiseConfig config;
        LOGGER.debug("[Config Save] Loading config holder");
        configForEdit = deserializeConfig(content);
        if (callback != null) callback.call(configForEdit);
        config = preprocessAndValidate(configForEdit);

        return new GoConfigHolder(config, configForEdit);
    }
@Test
    void shouldLoadRulesConfigWhereActionAndTypeHasWildcardForSchemaVersion124() throws Exception {
        String content = config(
                """
                        <secretConfigs>
                         <secretConfig id="example" pluginId="vault_based_plugin">
                          <description>All secrets for env1</description>
                          <configuration>
                           <property>
                              <key>path</key>
                             <value>secret/dev/teamA</value>
                           </property>
                          </configuration>
                          <rules>
                           <deny action="*" type="environment">up42</deny> \s
                           <deny action="refer" type="*">up43</deny> \s
                          </rules>
                         </secretConfig>
                        </secretConfigs>""", CONFIG_SCHEMA_VERSION);

        CruiseConfig config = xmlLoader.loadConfigHolder(content).config;

        SecretConfig secretConfig = config.getSecretConfigs().find("example");

        assertThat(secretConfig.getRules().first().action()).isEqualTo("*");
        assertThat(secretConfig.getRules().get(1).type()).isEqualTo("*");
    }