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

Get metadata for everything(mountpoints/secrets) without specifying every single mount point and secret path. #120

Open
marioasabella opened this issue Jun 2, 2023 · 1 comment

Comments

@marioasabella
Copy link

Hi @eugene-davis,

Is there any way to get metadata for everything(mountpoints/secrets) without specifying every single mount point and secret path?
We have a vault service with multiple mountpoints and secret paths.
It is a big overhead to maintain every new mountpoint and config which is created by users and mirror it to the vault-assessment-prometheus-exporter config.yaml.

@eugene-davis
Copy link
Contributor

Hi @marioasabella, you can definitely monitoring recursively within a mount point - see Config examples and Secret Configuration

Regarding monitoring all the mount paths, aside from the extra logic required (filtering down to secret engine), I'm not sure its a good general use case to support, as it requires giving VAPE rather broad access to mount points.
If it makes sense for your use case to have that level of access, maybe cronjob that spits out a config.yaml with the latest mount points would make more sense?

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

No branches or pull requests

2 participants