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

Allow AWS secret engine to send empty policy document #23470

Merged
merged 2 commits into from
Oct 3, 2023

Conversation

Monkeychip
Copy link
Contributor

This fixes a regression caused by a PR here that fixed a larger issue.

AWS is a unique case where we can't default the json form field to an empty object. A user needs to return nothing if no policy_document is added.

With the fix:

Screen.Recording.2023-10-03.at.11.29.27.AM.mov

@Monkeychip Monkeychip added ui bug Used to indicate a potential bug backport/1.14.x labels Oct 3, 2023
@Monkeychip Monkeychip added this to the 1.14.5 milestone Oct 3, 2023
@vercel
Copy link

vercel bot commented Oct 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
vault ⬜️ Ignored (Inspect) Visit Preview Oct 3, 2023 5:31pm

@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Oct 3, 2023
@github-actions
Copy link

github-actions bot commented Oct 3, 2023

Build Results:
All builds succeeded! ✅

@github-actions
Copy link

github-actions bot commented Oct 3, 2023

CI Results:
All Go tests succeeded! ✅

@Monkeychip Monkeychip enabled auto-merge (squash) October 3, 2023 17:54
Copy link
Contributor

@hellobontempo hellobontempo left a comment

Choose a reason for hiding this comment

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

Nice job tackling!

@Monkeychip Monkeychip merged commit 9774cb0 into main Oct 3, 2023
107 checks passed
@Monkeychip Monkeychip deleted the ui/VAULT-20485/aws-policy-document branch October 3, 2023 17:59
hellobontempo pushed a commit that referenced this pull request Oct 3, 2023
Monkeychip added a commit that referenced this pull request Oct 4, 2023
Monkeychip added a commit that referenced this pull request Oct 8, 2023
* fix

* changelog

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Used to indicate a potential bug 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.

3 participants