Frontend (Tanu-Key): Create form for creating secrets
Summary
Create the form component for secrets management based on our Figma design.
This will be used for creating and editing secrets, and should be available through the /new
and /:id/edit
route.
Out of Scope
This issue serves to set up the form component on the frontend.
The API is not yet available, so we will use client resolvers for our GraphQL queries and mock some data for development.
The issue will not cover:
- Updating a secret
- Making sure user has the correct permission to create a secret
- Integrating with the API to create the secret
- Access Permission fields
These will be implemented separately.
Due to ongoing discussions on how secrets permissions should work, we will skip the implementation for the access permissions in this issue (#424458 (comment 1866469187)). A new issue will be created for this in the future.
Implementation Plan
This will be implemented through a series of MRs:
Iteration | MR |
---|---|
Make environments dropdown reusable | !138464 (merged) |
Create base form with preview modal and key, value, description, expiration, and rotation fields | !146228 (merged) |
Add environment dropdown | !147141 (merged) |
Add access permission dropdowns, with user search |
|
Integrate apollo and add form submission | !150973 (merged) |
Links/References
Please refer to the main frontend epic for more information.
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.