My initial feedback on the alpha version #20
sagikazarmark
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
General
Does this make sense?
Provider
There are some inconsistencies in the nomenclature here. We use secret store and provider interchangeably. Provider gets even more overloaded in the code, where Provider acts as a kind of sql.DB like globally registered driver, but we still have a SecretStoreProvider and additional terms, like Client and Backend.
IMO this should be cleaned up, because it can be a major source of confusion.
Looking at the Vault provider,
unseal-keys-path
is an incorrect use of terminology. From what I understood it's the mountpoint from where secrets are loaded. This is also problematic for a number of reasons:Permissions
I find the concept a bit confusing and premature to be honest. I guess the idea is to make sure/enforce that stores designated as source/reader cannot be used as a destination accidentally which is nice in theory, but it's probably more confusing than useful at this point.
Permission is also not the term I would use. Role comes to mind as a more fitting terminology. Source and destination (or rather target) are also slightly better terms than reader and writer IMO.
My gut feeling is we should remove this for now and open an issue about adding it back in the future once other parts of the configuration become more mature.
Beta Was this translation helpful? Give feedback.
All reactions