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

Adds toggle for recursive subfolder inventory #14

Conversation

afolsom-kf
Copy link

Added the ability to do subfolder/component inventory.

For example:
If the targeted certstore path is: /keyfactor-certs/
Typical behavior will only pull secrets saved at the root. Like these:
/keyfactor-certs/certificate1
/keyfactor-certs/certificate2

It would not include (because of the subdirectory/component)
/keyfactor-certs/application1/certificate2

I've now added the ability to Recurse through the subdirectories. If the (certstore & certstore type) is configured with a SubfolderInventory (bool:true)

If this value is not configured, at the cert store or the cert store type it is just ignored, and the default behavior stays in place.

Allows Cert Stores to be allow a boolean value for SubfolderInventory. Allows inventory to be done on a root storepath and all of the component/subdirectories. Included documentation update to README.md
@afolsom-kf afolsom-kf marked this pull request as ready for review May 1, 2023 23:44
@joevanwanzeeleKF
Copy link
Contributor

This looks great. Rex will be adding some additional documentation to mention that there is a limit on the number of certs that can be returned from an inventory request.

@joevanwanzeeleKF joevanwanzeeleKF merged commit a2eb304 into Keyfactor:kv-sub-path-support May 2, 2023
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants