I have a bazor page to create new api-key-items for a service. The secret key of the api-key is generated on the server side and is only sent back once with the post response from the api controller. It is not stored in the database for security reasons and therefore not part of the get response after reading all api-key-items from the controller again. But the user needs to see and copy it directly after creating the new api-key-item.
I want to show the secret "key" as a grid column or better as a message after creating the new item like "Your Api-Key is ..." with an OK-Button or similiar.
How can I process the response from the server controller before the get-request is called?