You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To do this, I would need to add some new APIs to vault-rs:
APIs for reading and writing compound secrets easily. These would correspond to vault secrets created like this:
$ vault write secret/test user="foo" pass="bar"
Success! Data written to: secret/test
$ vault read secret/test
Key Value
--- -----
refresh_interval 720h0m0s
pass bar
user foo
Code using this API might hypothetically look something like:
APIs for accessing the lease ID, TTL, etc. These could be accessed via the VaultResponse object, I believe, in the example above.
Do these features already exist anywhere in the current release (I didn't see them)? If not, would you be interested in receiving a PR adding APIs along these general lines? Please feel free to suggest better names, API improvements, etc.
Once again, thank you for maintaining this crate!
The text was updated successfully, but these errors were encountered:
At some point in the future, I'd also love to port https://github.com/emk/credentials and https://github.com/faradayio/credentials_to_env to use your vault-rs library instead of the dodgy, hand-rolled internal library that I use now.
To do this, I would need to add some new APIs to vault-rs:
APIs for reading and writing compound secrets easily. These would correspond to vault secrets created like this:
Code using this API might hypothetically look something like:
APIs for accessing the lease ID, TTL, etc. These could be accessed via the
VaultResponse
object, I believe, in the example above.Do these features already exist anywhere in the current release (I didn't see them)? If not, would you be interested in receiving a PR adding APIs along these general lines? Please feel free to suggest better names, API improvements, etc.
Once again, thank you for maintaining this crate!
The text was updated successfully, but these errors were encountered: