Hashicorp Vault folder configuration #4375
Replies: 2 comments 7 replies
-
could we just re-use
this only increases security if the individual tokens are constrained to their respective paths ofc. |
Beta Was this translation helpful? Give feedback.
-
FYI: we are already using this feature in our ZF EDCs for almost one year without any problems. Therefore, we are also able to provide the implementation quite fast. 😉 |
Beta Was this translation helpful? Give feedback.
-
Hashicorp Vault folder configuration
This proposal aims to introduce the possibility to configure dedicated folders inside Hashicorp Vault as secret storage.
Use-Case
Administration
Having the option to sort the relevant secrets for multiple EDC instances in folders, enables an orderly structure inside Hashicorp Vault.
In this way, administration is made easier and less frustrating.
Security
If you are using multiple instances of the EDC and/or other applications/services/components together with a single Hashicorp Vault instance, it is undesirable to have all the secrets accessible to everyone.
With the possibility to configure a folder for each EDC, every instance of the EDC can be separated in what secrets it can access.
This increases security.
Affected Areas
Hashicorp Vault extension
Solution Proposal
Introduce the optional configuration value
edc.vault.hashicorp.folder
.If this value is set, the method
getSecretUrl
insideHashicorpVaultClient.java
adds the folder to the URL that is generated.With this, all operations will happen in the files of the folder instead.
Beta Was this translation helpful? Give feedback.
All reactions