-
Notifications
You must be signed in to change notification settings - Fork 149
Intrinsic support for multiple backends and general restyling #47
Conversation
Looks fantastic so far @msessa-cotd. I'll dive deeper into the details later tonight, awesome work! |
Hi @djenriquez, did you have a chance to take a look? Any thoughts? |
@msessa-cotd sorry for the delay. I haven't had a chance to take a look yet. I'll make time tonight to do so. |
@msessa-cotd I'm seeing the added keys you're using to figure out the permissions for secrets navigation, but I do not see the same menu items as the screen shot above. Did you decide to move back on this? |
Did you run the |
Yup, ran
|
Ooops I commented out webpack in docker-compose.yml and forgot to revert it before I committed. Pull now |
Thats fantastic, and yes, prioritize what you need. When things settle a bit with my new job I'll have time to be more active, but really appreciate the work! |
Hi @djenriquez, I've completed most of the restyling around the app. Would you be able to take a look? There's also a few new substantial changes:
The Example wrapping an existing secret: The provided URL can be used with no prior authentication to display the wrapped secret. Let me know your thoughts. Cheers |
@msessa-cotd Without looking at the code, the experience is most definitely improved, absolutely awesome stuff! The token, username and connected Vault address is great information for the user to have. Response wrapping also has a better experience now. The only thing I find questionable is the modal style view of the core real estate. I believe it would look and feel better if it was maximized somehow. Ideally, the display would take up the entire core space without floating over a white background. Was there a reason for the floating-style displays vs just using the space? Also for language/spelling, let's stick with US English to remain consistent with the Vault project itself. (Customize vs customize, Preferences vs Preferencies, etc) None-the-less, bravo 🎉! |
hi @djenriquez I've reclaimed some space on the page and taken away most of the depth effect. Also fixed those australian spellings ;) sorry, force of habit |
After these two PRs are merged in, PTAL at Release Draft 1.1.0 and make sure the release notes are accurate. I think you should have access to that. |
Fixed layout for the tokens page. Can you guys consider merging? |
Hi @djenriquez @alexunwin
Note: I'm opening a PR although there is still a bit of work to do here before it can be merged, but this way is easier to discuss changes.
This PR shifts the discovery of secret backends and authentication backend (post-login) to the Menu component, which dynamically renders a nested list of mounted backends.
I believe vault-ui needs to be designed following the core architecture of vault, which allow multiple instances of a backend to be mounted on arbitrary paths in the logical filesystem.
Also I believe it's not the responsibility of the individual backend-interface components to discover their namespaces.
This should make it easier to develop support for other types of secret backends (aws, mysql etc) and authentication backends (userpass, ldap, aws, etc)
Edit: To demonstrate the point above I've moved the GitHub and EC2 components from Policies to the appropriate location for the new model.
You can test all this with
A breakdown of the changes:
/sys/mounts
and/sys/auth
otherwise it will fallback to the standard viewIt looks like this: