Describe the bug
When a secret is added in Keep for a workflow, if the secret’s name ends with a trailing space character ("MY_SECRET " instead of "MY_SECRET"), it becomes visible in the UI but cannot be deleted, updated, or accessed through normal operations.
To Reproduce
Steps to reproduce the behavior:
-
Open Keep and navigate to workflow secrets.
-
Add a new secret with a name that includes a trailing space (e.g., API_KEY ).
-
Save the secret.
-
Observe that the secret is listed in the UI.
-
Attempt to:
- Access the secret in the workflow.
- Delete the secret.
- Update the secret.
Expected behavior
Trailing spaces in secret names should either:
-
Be automatically trimmed on creation, or
-
Be preserved but fully accessible and deletable like normal secrets.
Screenshots

Describe the bug
When a secret is added in Keep for a workflow, if the secret’s name ends with a trailing space character ("MY_SECRET " instead of "MY_SECRET"), it becomes visible in the UI but cannot be deleted, updated, or accessed through normal operations.
To Reproduce
Steps to reproduce the behavior:
Open Keep and navigate to workflow secrets.
Add a new secret with a name that includes a trailing space (e.g.,
API_KEY).Save the secret.
Observe that the secret is listed in the UI.
Attempt to:
Expected behavior
Trailing spaces in secret names should either:
Be automatically trimmed on creation, or
Be preserved but fully accessible and deletable like normal secrets.
Screenshots