* SecretsManager: add secure value model and sql templates Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com> Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com> Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com> Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com> * SecretsManager: secure value rest layer to use store Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com> Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com> Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com> Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com> * SecretsManager: temporary add actor prefix to decrypters * Remove list securevalue by namefor now --------- Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com> Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com> Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com>
26 lines
647 B
SQL
26 lines
647 B
SQL
SELECT
|
|
{{ .Ident "guid" }},
|
|
{{ .Ident "name" }},
|
|
{{ .Ident "namespace" }},
|
|
{{ .Ident "annotations" }},
|
|
{{ .Ident "labels" }},
|
|
{{ .Ident "created" }},
|
|
{{ .Ident "created_by" }},
|
|
{{ .Ident "updated" }},
|
|
{{ .Ident "updated_by" }},
|
|
{{ .Ident "status_phase" }},
|
|
{{ .Ident "status_message" }},
|
|
{{ .Ident "description" }},
|
|
{{ .Ident "keeper" }},
|
|
{{ .Ident "decrypters" }},
|
|
{{ .Ident "ref" }},
|
|
{{ .Ident "external_id" }}
|
|
FROM
|
|
{{ .Ident "secret_secure_value" }}
|
|
WHERE {{ .Ident "namespace" }} = {{ .Arg .Namespace }} AND
|
|
{{ .Ident "name" }} = {{ .Arg .Name }}
|
|
{{ if .IsForUpdate }}
|
|
{{ .SelectFor "UPDATE" }}
|
|
{{ end }}
|
|
;
|