-
Since vault can be connected in different ways, can we write an application using this library, without using any specific authentication method (like token, iam etc..) and the library internally detects the best way to connect to ? Basically, looking for some predefined properties in the environment which the library will look for to determine what authn method to use - something like Spring's EnvironmentVaultConfiguration - https://docs.spring.io/spring-vault/docs/current/api/org/springframework/vault/config/EnvironmentVaultConfiguration.html |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@bijumrs That's a good thought, but it is left for the host applications to do all that discovery, dynamicity and magic. Also What you're suggesting is a higher level dynamic feature, best left for the host applications to do. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the explanation @bijumrs. It still feels like a host or a vault-contrib capability, and not a core vault-sharp library capability. I tend to avoid file processing in the library and prefer the host app to do whatever it needs to do to create the IAuthInfo instance. |
Beta Was this translation helpful? Give feedback.
Thanks for the explanation @bijumrs.
It still feels like a host or a vault-contrib capability, and not a core vault-sharp library capability. I tend to avoid file processing in the library and prefer the host app to do whatever it needs to do to create the IAuthInfo instance.