public List<PluginConfiguration> getSecretsConfigMetadata(String pluginId) {
        return getVersionedSecretsExtension(pluginId).getSecretsConfigMetadata(pluginId);
    }
@Test
    void getSecretsConfigMetadata_shouldDelegateToVersionedExtension() {
        SecretsExtensionV1 secretsExtensionV1 = mock(SecretsExtensionV1.class);
        Map<String, VersionedSecretsExtension> secretsExtensionMap = Map.of("1.0", secretsExtensionV1);
        extension = new SecretsExtension(pluginManager, extensionsRegistry, secretsExtensionMap);

        when(pluginManager.resolveExtensionVersion(PLUGIN_ID, SECRETS_EXTENSION, SUPPORTED_VERSIONS)).thenReturn(SecretsExtensionV1.VERSION);

        this.extension.getSecretsConfigMetadata(PLUGIN_ID);

        verify(secretsExtensionV1).getSecretsConfigMetadata(PLUGIN_ID);
    }