SecretsManager: Introduce keeper store (#105557)
* SecretsManager: Introduce secret database wrapper Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com> Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com> Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com> Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com> * SecretsManager: Introduce db migrator with keeper table Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com> Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com> Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com> Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com> * SecretsManager: Introduce keeper store Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com> Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com> Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com> * new line * without query listByNameSecureValue * remove unused extractSecureValues for now * SecretsManager: Add keeper integration tests Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com> Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com> Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com> --------- Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com> Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com> Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
UPDATE
|
||||
{{ .Ident "secret_keeper" }}
|
||||
SET
|
||||
{{ .Ident "guid" }} = {{ .Arg .Row.GUID }},
|
||||
{{ .Ident "name" }} = {{ .Arg .Row.Name }},
|
||||
{{ .Ident "namespace" }} = {{ .Arg .Row.Namespace }},
|
||||
{{ .Ident "annotations" }} = {{ .Arg .Row.Annotations }},
|
||||
{{ .Ident "labels" }} = {{ .Arg .Row.Labels }},
|
||||
{{ .Ident "created" }} = {{ .Arg .Row.Created }},
|
||||
{{ .Ident "created_by" }} = {{ .Arg .Row.CreatedBy }},
|
||||
{{ .Ident "updated" }} = {{ .Arg .Row.Updated }},
|
||||
{{ .Ident "updated_by" }} = {{ .Arg .Row.UpdatedBy }},
|
||||
{{ .Ident "description" }} = {{ .Arg .Row.Description }},
|
||||
{{ .Ident "type" }} = {{ .Arg .Row.Type }},
|
||||
{{ .Ident "payload" }} = {{ .Arg .Row.Payload }}
|
||||
WHERE {{ .Ident "namespace" }} = {{ .Arg .Row.Namespace }} AND
|
||||
{{ .Ident "name" }} = {{ .Arg .Row.Name }}
|
||||
;
|
||||
Reference in New Issue
Block a user