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

WIF AWS: add create functionality to SearchSelectWithModal for identity_token_key #27794

Closed

Conversation

Monkeychip
Copy link
Contributor

@Monkeychip Monkeychip commented Jul 16, 2024

Description

This PR adds the modal/create part to the aws secret engine mount.

  • enterprise test pass.
  • if a user has read access it identity/oidc/key they can either search existing oidc/keys or they can create one.
  • if a user does not have read access they can type a key into an input box. If the key does not exist then the API will surface an error.
  • FYI: We are surfacing about half the fields used to create an identity/oidc/key (at the very bottom I'll provide a screenshot of that full form). Design would like to only include a limited / required set of form fields to create an identity_token_key here. This has been cleared with the backend as well.
  • It's important that a user is given the ability to add a key at the mounting stage of an engine because they cannot add this later via the UI.

Screenshots

Admin user with full access to identity/oidc/key

image

image

If they created a key
(I have a nice to have ticket to fix the styling of the flash message. That was an existing issue and trying to keep scope tight)
image

Admin user without access to identity/oidc/key

image

If they enter a key that does not exist, the API will surface the following error:
image

The full form to create an identity/oidc/key found via the OIDC provider workflow.

image

hashishaw and others added 15 commits July 10, 2024 13:50
* test coverage for bug

* Add defaultValue to acmeAccountSafetyBuffer

* fix failing PKI tests

* Add changelog
* Update CHANGELOG.md for 1.17.2 1.16.6 and 1.15.12

* Update CHANGELOG.md

Co-authored-by: Meggie <[email protected]>

---------

Co-authored-by: Meggie <[email protected]>
…27757)

* Add custom tags section to sync overview, specifically call out normalizing names and tags

* Update website/content/docs/sync/index.mdx

Co-authored-by: Theron Voran <[email protected]>

* Fix typo

---------

Co-authored-by: Theron Voran <[email protected]>
* add a retry-command script

* add license header to retry script
* Update go.mod and sdk/go.mod to Go 1.22

* manually bump the import and re-go-mod-tidy
…er (#27767)

* Docs: PGP & gpg version requirements with ECDH & Vault 1.13.x or higher.

* Update website/content/docs/concepts/pgp-gpg-keybase.mdx

Co-authored-by: Sarah Chavis <[email protected]>

---------

Co-authored-by: Sarah Chavis <[email protected]>
…ts (#27646)

* Docs: autosnapshots notes around AWS EKS & S3 configuration requirments.

* Docs: corrected autosnapshots notes around AWS EKS & S3 configuration requirments.

* Update website/content/docs/enterprise/automated-integrated-storage-snapshots.mdx

Co-authored-by: Sarah Chavis <[email protected]>

* Update website/content/api-docs/system/storage/raftautosnapshots.mdx

Co-authored-by: Sarah Chavis <[email protected]>

---------

Co-authored-by: Sarah Chavis <[email protected]>
* Add map between model types and helpUrls, update tests

* replace modelProto.getHelpUrl with new helper util

* Remove all useOpenApi and getHelpUrl instances from models

* Add missing auth config model type
* move some auth controller logic to route page component

* remove unused vars

* fix action handling so this context is retained

* rename authpage to auth-form-page

* rename auth-route-page to auth-splash-page

* link jira VAULT-28251

* wowww typo

* add padding to mfa form alert message

* update component name in tests

* alphabetize args

* use auth helpers for login method

* remove async, await

* rename components

* update jsdoc

* add comment
@Monkeychip Monkeychip added this to the 1.18.0-rc milestone Jul 16, 2024
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Jul 16, 2024
@Monkeychip Monkeychip added ui and removed hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed labels Jul 16, 2024
Copy link

github-actions bot commented Jul 16, 2024

CI Results:
All Go tests succeeded! ✅

VioletHynes and others added 5 commits July 16, 2024 14:44
* Update docs around dead_server_last_contact_threshold

* Grammar
* yield all overview card actions

* yield remaining overview card content to the correct block

* close overview card in test

* fix typo

* fix route typo, add selectors where needed

* fix class typo add one more selector
* Create date-range component with tests

* update selectors and callback behavior

* update cc tests & selectors

* cleanup

* RIP calendar-widget and date-dropdown -- you were good components

* reset on close

* Add changelog

* use parseApiTimestamp

* fix test

* cleanup

* make date-range typescript, update behavior

* add words

* minor styling

* fix test
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Jul 17, 2024
@Monkeychip Monkeychip marked this pull request as ready for review July 17, 2024 17:13
@Monkeychip Monkeychip requested a review from a team as a code owner July 17, 2024 17:13
Copy link

github-actions bot commented Jul 17, 2024

Build Results:
All builds succeeded! ✅

fairclothjm and others added 21 commits July 24, 2024 09:09
* db: refactor postgres test helpers

* fix references to refactored test helper

* fix references to refactored test helper

* fix failing test
* Policy priority NS example

* Update website/content/docs/concepts/policies.mdx

Modification after review

Co-authored-by: Yoko Hyakuna <[email protected]>

---------

Co-authored-by: Yoko Hyakuna <[email protected]>
* title case all static breadcrumb labels

* test fixes

* add missing model
* Add a warning about namespace info for HVD

* Minor edit
…espace (#27790)

* start implementation and testing

* changelog

* switch changelog description to change
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.64.0 to 1.64.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.64.0...v1.64.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Violet Hynes <[email protected]>
This PR introduces a no-op CensusManager in CE in an effort to simplify
overall maintenance.

Resolves: VAULT-27562
Enterprise PR: hashicorp/vault-enterprise#6231
* VAULT-27384 Fix faulty assignments and unchecked errors

* Another missed error

* Small refactor
* fresh yarn lock

* upgrade hds to 4.6.0
… increasing wait on failure (up to 5 seconds and 5 retries) (#27842)

Co-authored-by: VAL <[email protected]>
* OSS Changes

* Added changelog

* Fix build errors
* move pageheader to route template

* remove title assertions because no longer reliant on isNew logic

* change @model to this.model

* remove test selectors

* add keys base breadcrumb

* update assertion count
* VAULT-27563 CE changes

* Missed push
…7846)

* VAULT-28577: change CSV MIME type to text/csv

* VAULT-28578: require sudo for export API

* add validation and associated error handling

* change export API default to 204 if no data returned

* VAULT-28579: allow export API in non-root namespace, add filtering support

* update test fixtures to reflect filtering changes

* TestActivityLog_Export moved to ENT-only test

* add test to verify sudo access

* add changelog entry
@Monkeychip Monkeychip requested review from a team as code owners July 24, 2024 15:09
@Monkeychip Monkeychip deleted the branch ui/VAULT-27326/wif-aws-sidebranch July 24, 2024 15:33
@Monkeychip Monkeychip closed this Jul 24, 2024
@Monkeychip Monkeychip deleted the ui/VAULT-28459/add-modal branch July 24, 2024 15:34
@Monkeychip Monkeychip restored the ui/VAULT-28459/add-modal branch July 24, 2024 15:34
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.