Setup Provider should not allow overwriting keys
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3558686. -->
Reported by: [breidert](https://www.drupal.org/user/135619)
Related to !6
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>In the setup section, there is no visual indication if a provider is already installed. In the screenshot below you can see, that I can add OpenAI again, eventhough it is already installed.</p>
<p><img src="https://www.drupal.org/files/issues/2025-11-19/AI-Setup-and-Configuration-Drush-Site-Install-11-19-2025_09_57_AM.jpg" width="400" alt="Screeshot AI provider setup"></p>
<p>Note, that adding it again, does not change the configuration, but also does not trigger an error message. However, we don't need to fix this, if adding a configuration again is prohibited.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>The list of providers should stay the same, but when you select a provider, that is already configured, the input fields should be disabled, and a help text should be shown.</p>
<p>Suggested help text:</p>
<pre>The provider is already configured. Change the configuration here.</pre><p>If it is easier to simply show the help text, and not disable the input fields, this is also an option, but it looks ugly.</p>
issue