I've two environment, dev and staging. I'm using the ReCaptcha module.
In the developpement environment, I have some api keys a other config which until now, are exported thanks to
drush cex inside the recaptcha.settings file
site_key: mysite_key secret_key: mysite_secret verify_hostname: false use_globally: false widget: theme: dark type: image size: '' tabindex: 0 noscript: false _core: default_config_hash: mydefault_hash langcode: fr
If I update my staging files website, the config from the development is imported with
How can I, without another module, prevent this ?
In my settings.local.dev.php, I've added this line and ran
drush cex :
$settings['config_exclude_modules'] = ['recaptcha'];
And it gave me this result
The config is completly deleted, but I'd like to keep all the config but not the site_key / secret_key (such as theme etc...)
I wish I could have a config for the development and the staging separetly, but still using drush commands.