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

Add role patching test case #15545

Merged
merged 3 commits into from
May 20, 2022
Merged

Add role patching test case #15545

merged 3 commits into from
May 20, 2022

Conversation

cipherboy
Copy link
Contributor

This updates almost all fields individually in a role, with the exceptions of (key_type, key_bits, and signature_bits) due to inter-dependencies between them.

Also, fixes a bug spotted by @stevendpclark during review of #15510, where both Update and Patch issuer didn't validate the new name.

cipherboy added 2 commits May 20, 2022 13:53
Signed-off-by: Alexander Scheel <[email protected]>
Signed-off-by: Alexander Scheel <[email protected]>
Copy link
Contributor

@stevendpclark stevendpclark left a comment

Choose a reason for hiding this comment

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

Thanks! I assume we will eventually update the api-docs about the supported patch ops we now have?

@cipherboy
Copy link
Contributor Author

Yeah, I could probably do that here.

@cipherboy
Copy link
Contributor Author

Thanks!

@cipherboy cipherboy merged commit a38678d into main May 20, 2022
Gabrielopesantos pushed a commit to Gabrielopesantos/vault that referenced this pull request Jun 6, 2022
* Add tests for role patching

Signed-off-by: Alexander Scheel <[email protected]>

* Prevent bad issuer names on update

Signed-off-by: Alexander Scheel <[email protected]>

* Add documentation on PATCH operations

Signed-off-by: Alexander Scheel <[email protected]>
@cipherboy cipherboy deleted the cipherboy-add-role-test-case branch June 16, 2022 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants