# Bug AA-204 - "Remove key" button next to the stored API key field on the LLM connection page looks out of place

Project: Stream Agents & Assistants
Status: closed
URL: https://community.openproject.org/work_packages/AA-204

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Artificial Intelligence (AI) |
| Target versions | 18.0.0 |
| Observed in versions | 18.0.0 |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee | Ihor Khomenko |
| Accountable | Dominic Bräunlein |
| Product manager | Dominic Bräunlein |
| Developers | Andreas Eiselt |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Work |  |
| Labor costs |  |

## Description

**Summary**

On the LLM connection admin page, a stored API key is shown with the placeholder &quot;API key stored&quot; and a red &quot;Remove key&quot; button next to the input. The field looks different from how OpenProject shows stored secrets in other admin forms.

**Steps to reproduce**

1.  Log in as an administrator.
    
2.  Open Administration and go AI -&gt; LLM settings
    
3.  Enter a base URL and an API key and save the connection.
    
4.  Look at the &quot;API key&quot; field after the page reloads.
    
    <br>
    

**Actual behavior**

*   The empty input shows the placeholder &quot;API key stored&quot;.
    
*   The caption reads &quot;A key is stored. Leave blank to keep the current key, or enter a new one to replace it.&quot;
    
*   A red &quot;Remove key&quot; button sits to the right of the input, in a horizontal row.
    

<img class="image_resized op-uc-image op-uc-image_inline" style="width:537px;" src="/api/v3/attachments/926311/content">

**Expected behavior**

*   ~~The API key field looks like the other stored-secret fields: e.g. storages application password. The input is empty with a masked placeholder (for example &quot;••••••••••••••••&quot;) and no button beside it. Leaving the field blank keeps the stored secret.~~
    
*   ~~There is no &quot;Remove key&quot; button in the form.~~
    
*   Caption is removed
    

**example from Application Password**

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/926326/content">

<br>
