-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Extract the secret's json path from a config schema #11823
Conversation
…o bmoric/migrate-to-secured-secret-store
I realized that I need some cleanup before moving it to non-draft. |
…rate-to-secured-secret-store
* @param currentPath - The current path of the node | ||
* @return | ||
*/ | ||
protected Set<String> getAllSecretPathsRec(final JsonNode currentNode, final String currentPath) { |
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.
it feels like we're adding a 3rd jsonschema tree traversal implementation to our codebase here. that makes me nervous. i have a generic implementation that i've been working on to replace these duplicative implementations. will share this afternoon.
…s.java Co-authored-by: Topher Lubaway <asimplechris@gmail.com>
…o bmoric/migrate-to-secured-secret-store
…rate-to-secured-secret-store
Close because duplicated with what Charles is doing |
What
In preparation of the migration to no store to a secret manager store, we need an easy way to list, extract and change all the secret values of a given config based on its schema .
This PR is helping to get all the secret paths. It will then use #11680 (review) to manipulate those secrets.