Show secretKeySelectors for GCS service account json on edit mode
Summary
When editing a GCS SGObjectStorage, even when the serviceAccountJSON
has been set, the UI shows a file input as if it wasn't.
Instead of just showing the plain input with no file associated, the form should show the secretKeySelectors
that match the uploaded file, while also giving the user the option to replace such selectors by uploading a new file.
Steps to reproduce
- Enter the web console
- Create a GCS SGObjectStorage with an associated
serviceAccountJSON
- Edit the recently created resource
- No secret key selectors info is shown
Expected Behaviour
Even though the secretKeySelectors
are generally the same for every GCS storage, there should be a way to show users that the credentials have been set.
Environment
- StackGres version:
1.5.0-beta1
Edited by Luis Garcia