Remove expiration field from secret manager form

What does this MR do and why?

The expiration field in the secrets manager is purely decorational. It will no longer be implemented in the backend for now, so we should remove it.

The same component is used for both the created and edit form, so the field is removed from both.

This requires the secrets_manager feature flag.

References

Screenshots or screen recordings

Before After
Screenshot_2026-01-09_at_00.14.29 Screenshot_2026-01-09_at_00.11.59

Submitting the form

How to set up and validate locally

Setup

  1. Upload a Premium license (or above).
  2. Set up openbao on your gdk.
  3. Enable the secrets manager on gdk.

Verification

  1. Go to <your_project>/-/secrets/new
  2. Verify that the expiration field is no longer in the form and that the form can still create/update a secret

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Mireya Andres

Merge request reports

Loading