Revert "Secrets: Refactor data_key_id out of the encoded secure value payload…"
This reverts commit acad92864e.
16 lines
393 B
SQL
16 lines
393 B
SQL
INSERT INTO {{ .Ident "secret_encrypted_value" }} (
|
|
{{ .Ident "namespace" }},
|
|
{{ .Ident "name" }},
|
|
{{ .Ident "version" }},
|
|
{{ .Ident "encrypted_data" }},
|
|
{{ .Ident "created" }},
|
|
{{ .Ident "updated" }}
|
|
) VALUES (
|
|
{{ .Arg .Row.Namespace }},
|
|
{{ .Arg .Row.Name }},
|
|
{{ .Arg .Row.Version }},
|
|
{{ .Arg .Row.EncryptedData }},
|
|
{{ .Arg .Row.Created }},
|
|
{{ .Arg .Row.Updated }}
|
|
);
|