-
Notifications
You must be signed in to change notification settings - Fork 54
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
Nested key reference in secretKey #123
Comments
Doesn't look like there is a way to do it currently vault-csi-provider/internal/provider/provider.go Lines 167 to 170 in 03f657a
Should this be considered as a feature request or it's not how it should work? |
Hi @edbighead, you're right that it's not currently supported. I have reservations about completeness and complexity for this feature. What about arbitrary depth keys, or indexing into an array etc. Users are in control of the format of their secrets, so I'm inclined to suggest flattening the structure of secrets instead. I'm happy to leave this open as a feature request for now though, and if there is a lot of support and more use cases from the community, it could end up being implemented in some form. |
thanks @tomhjp, we indeed flattened our secrets structure for vault-csi-provider and went with agent-sidecar-injector combined with secret-templates for nested structures |
Good point about templates! Consul Template could be an interesting option for this project too, given it's already well established in the agent injector. |
Closing as I believe this is effectively covered by #91 with that in mind. |
Is there a way to specify a nested key in
secretKey
reference?Having the following block of
parameters
inSecretProviderClass
Results in error
The text was updated successfully, but these errors were encountered: