Add initial templating support to Vault credential libraries This adds support for templating various account and user values into Vault dynamic credential library POST bodies and GET/POST paths. It also unifies how parameters are used in grants, with backwards compatibility.
This commit is contained in:
1 parent
b5ef8a516b
commit
cede1aec93
25 files changed
+612
-78
No files matched your search
@@ -0,0 +1,8 @@
|
||||
package util
|
||||
|
||||
// Pointer is just a generic function to return a pointer of whatever type is
|
||||
// given
|
||||
func Pointer[T any](input T) *T {
|
||||
ret := input
|
||||
return &ret
|
||||
}
|
||||
Reference in new issue
Block a user