WIP: Update UI to Support Explicit AWS Credential Types #5139
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
UI support for #4360 -- because it contains some backwards incompatibilities in reading role data, the UI no longer works to manage roles. It can be used for creating roles and generating credentials, but not viewing role details, and editing the role looks ugly as well.
Definitely need some help if I'm going to finish the swing on this, UI work isn't my forte (I'm much more comfortable digging around the nitty gritty details of crypto code...).
I'm sure there's a lot I'm going wrong, but the current list of bugs I'm aware of are:
credential_type
doesn't get recognized. That's becausecredential_type
is a bit weird. It gets set as a singular value, but read out as a list, ascredential_types
for backwards compatibility reasons (see the discussion starting at RFC on Refactor of AWS Secret Backend #4229 (comment) for more details on the why). I'm not sure how to make a Handlebars helper in an Ember app to implement some sort of ArrayContains method).role_arns
items don't get saved when I try to update them.policy_arns
is entered as a comma-separated value, but it should be a real list. Waiting to figure out the previous item before tackling this one.discarding changes. This doesn't seem like the right behavior.