Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDAP/AD Secrets Engine #20790

Merged
merged 37 commits into from
Aug 25, 2023
Merged

LDAP/AD Secrets Engine #20790

merged 37 commits into from
Aug 25, 2023

Conversation

zofskeez
Copy link
Contributor

@zofskeez zofskeez commented May 25, 2023

This PR adds the LDAP Secrets engine to the UI.

image
image
image
image
image

@zofskeez zofskeez added the ui label May 25, 2023
@zofskeez zofskeez added this to the 1.15 milestone May 25, 2023
* adds secret-engine-path adapter

* adds model, adapater and serializer for ldap config

* adds test for ldap config adapter

* addresses PR feedback

* updates remaining instances of getURL in secrets-engine-path adapter

* adds underscore to getURL method in kubernetes/config adapter

* adds check config vars test for kubernetes/config adapter

* adds comment regarding primaryKey in secrets-engine-path adapter
* converts secret-mount-path service to ts and moves kubernetes fetch-config decorator to core addon and converts to ts

* adds ldap config route

* fixes withConfig import path in kubernetes roles route

* updates types in ldap config route

* adds unit tests for fetch-secret-config decorator

* updates comments in fetch-secret-config decorator

* renames fetch-secret-config decorator
* adds ldap page configure component

* removes pauseTest and updates radio card selector in ldap config test
* adds ldap configuration route

* adds secrets-engine-mount-config component to core addon

* adds ldap config-cta component

* adds display fields to ldap configuration page and test

* fixes ldap config-cta test

* adds yield to secrets-engine-mount-config component

* fixes tests
* adds ldap overview route and page component

* changes toolbar link action type for create role on overview page
@VioletHynes VioletHynes added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Jul 7, 2023
* adds model, adapter and serializer for ldap roles

* addresses review feedback

* changes ldap role type from tracked prop to attr and sets in adapter for query methods

* adds assertions to verify that frontend only props are returned from query methods in ldap role adapter
* adds model, adapter and serializer for ldap library

* updates capitalization and punction for ldap role and library form fields
* moves stringify and jsonify helpers to core addon

* adds validation error for ttl picker in form field component

* adds ldap roles create and edit routes and page component

* adds ldap mirage handler and factory for roles

* adds example workflow to json editor component

* adds tests for ldap page create and edit component

* addresses feedback
* adds ldap role route to pass down model to child routes

* adds ldap role details route and page component

* updates ldap role model capabilities checks

* adds periods to error messages

* removes modelFor from ldap roles edit and details routes

* adds flash message on ldap role delete success
* adds ldap roles route and page component

* update ldap role adapter tests and adds adapter options to query for partialErrorInfo

* updates ldap role adapter based on PR feedback

* adds filter-input component to core addon

* updates ldap roles page to use filter-input component

* updates ldap role adapter tests
* adds ldap roles route and page component

* update ldap role adapter tests and adds adapter options to query for partialErrorInfo

* adds credentials actions to ldap roles list menu and fixes rotate action in details view

* adds ldap role credentials route and page component

* adds tests for ldap role credentials
* adds ldap library create/edit routes and page component

* adds ldap library create-and-edit tests and library mirage factory

* updates form-field component to display validation errors and warnings for all fields

* updates ldap library edit route class name

* updates ldap library model interface name

* adds missing period in flash message
* updates interface and class names in ldap roles route

* adds ldap libraries route and page component

* fixes lint error
* updates interface and class names in ldap roles route

* adds ldap libraries route and page component

* fixes lint error

* adds ldap library details route and page component
* updates interface and class names in ldap roles route

* adds ldap libraries route and page component

* fixes lint error

* adds ldap library details route and page component

* adds ldap library details configuration route and page component

* updates ldap library check-in enforcement value mapping

* fixes issue in code mirror modifier after merging upgrade

* fixes failing database secrets test
* adds route and page component for ldap library accounts

* adds ldap component for checked out accounts

* updates ldap library adapter tests
* adds route and page component for ldap library accounts

* adds ldap component for checked out accounts

* adds route and page component for ldap library checkout

* addresses PR feedback
* adds overview cards to ldap overview route

* adds create library toolbar action to ldap overview route
* removes uneccesary asyncs from ldap route model hooks

* updates ldap overview route class name

* adds documentation for fetch-secrets-engine-config decorator
Comment on lines +44 to +56
<div class="has-padding-s has-background-gray-900 border-radius-4 is-flex-between has-top-margin-s">
<code class="has-text-white is-size-7" data-test-cli-command>{{this.cliCommand}}</code>
<CopyButton
class="button is-compact is-transparent has-text-grey-light"
data-test-cli-command-copy
@clipboardText={{this.cliCommand}}
@buttonType="button"
@success={{action (set-flash-message "Renew command copied!")}}
>
Copy
<Icon @name="clipboard-copy" aria-label="Copy" />
</CopyButton>
</div>
Copy link
Contributor

@hellobontempo hellobontempo Aug 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to do: replace with CodeSnippet component once #22518 is merged into main

@github-actions
Copy link

CI Results:
All Go tests succeeded! ✅

@Monkeychip Monkeychip marked this pull request as ready for review August 24, 2023 18:58
@github-actions
Copy link

Build Results:
All builds succeeded! ✅

@Monkeychip Monkeychip merged commit a8b5936 into main Aug 25, 2023
102 checks passed
@Monkeychip Monkeychip deleted the ui/VAULT-12945/ldap-secrets-engine branch August 25, 2023 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants