Creating a form to onboard a seecret

im trying to build a form where users can create their own collections of passwords and tokens and any additional info. So the goal is to create a “form” with different inputs and store it in to cypher decryptable by the ‘group’ this user is part of. any thoughts where i should start (i already have a sketch of the form with inputs) ?

You may be able to pass a createdBy flag on the post that could dynamically pass the user.id variable (I believe).

Otherwise you may need to prompt for credentials in the form and pass them to an auth so the post is done as the user.