-
Notifications
You must be signed in to change notification settings - Fork 62
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
indicate that token reviewer jwt is set on config read #221
Conversation
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.
Looking good! Had a few comments/suggestions.
Co-authored-by: Ben Ash <[email protected]>
Co-authored-by: Ben Ash <[email protected]>
Co-authored-by: Ben Ash <[email protected]>
Thank you for the feedback, @benashz! I've addressed all the comments. It's ready when you have a chance. |
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.
Looks good. Just had a few minor suggestions. After those are addressed: 👍
Co-authored-by: Ben Ash <[email protected]>
Co-authored-by: Ben Ash <[email protected]>
Overview
The read config endpoint does not expose the token_reviewer_jwt field for security reasons. Indication if it is set or not can save users from the kubernetes login route to verify.
Design of Change
Add a key value pair to the response data on config read to indicate that the token reviewer jwt is set.
Related Issues/Pull Requests
[ ] Issue #68
Contributor Checklist
[ ] Add relevant docs to upstream Vault repository, or sufficient reasoning why docs won’t be added yet
My Docs PR Link
[ ] Add output for any tests not ran in CI to the PR description (eg, acceptance tests)
[ ] Backwards compatible