Issue #3387111: Allow alttext.ai to use the keys module
Alter the Service plugins to allow consistent use of the key module and to only use the credentials config, ensuring that the API key is only stored in config if the user explicitly selected the local config provider and is never stored in config if the key module is selected.