-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
auth/cert: Add certificate extensions as metadata #13348
Conversation
4280b8a
to
47fabd6
Compare
bde5e18
to
664e587
Compare
664e587
to
6befca2
Compare
Hey @peterverraedt ! Sorry for the delay here, I've been caught up with other stuff but I'll be sure to review this PR this week, and thanks for the prompt response to the feedback we gave! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments / questions, overall the PR looks pretty great! :)
6befca2
to
4c12277
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
couple minor nits, olgtm!
Also, could you please rebase this branch off main ? There's some test failures that should be fixed in main now. |
4c12277
to
0b5a1c9
Compare
Signed-off-by: Peter Verraedt <[email protected]>
Signed-off-by: Peter Verraedt <[email protected]>
0b5a1c9
to
03f3a86
Compare
* auth/cert: Add certificate extensions as metadata Signed-off-by: Peter Verraedt <[email protected]> * Add changelog for hashicorp#13348 Signed-off-by: Peter Verraedt <[email protected]>
This adds certificate extensions as metadata to be used in vault policy templates. We parse the ASN1 objectidentifiers to a string separated by dashes instead of dots, to ease the use in golang templating language.
Fixes: #13347
Refs: #10503
Signed-off-by: Peter Verraedt [email protected]