* Secrets: make operations sync * k8s gen / update query to list secure values to include the version * always store new version of a secret * make update-workspace * go mod tidy * update queries * update queries * improve and use testutils in decrypt_store_test * fix broken test * make update-workspace * ./hack/update-codegen.sh secret * update Test_SecureValueMetadataStorage_CreateAndRead * undo dependency changes * linter: fix remaining errors --------- Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com> Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
30 lines
395 B
SQL
Executable File
30 lines
395 B
SQL
Executable File
INSERT INTO `secret_secure_value` (
|
|
`guid`,
|
|
`name`,
|
|
`namespace`,
|
|
`annotations`,
|
|
`labels`,
|
|
`created`,
|
|
`created_by`,
|
|
`updated`,
|
|
`updated_by`,
|
|
`active`,
|
|
`version`,
|
|
`description`,
|
|
`external_id`
|
|
) VALUES (
|
|
'abc',
|
|
'name',
|
|
'ns',
|
|
'{"x":"XXXX"}',
|
|
'{"a":"AAA", "b", "BBBB"}',
|
|
1234,
|
|
'user:ryan',
|
|
5678,
|
|
'user:cameron',
|
|
FALSE,
|
|
1,
|
|
'description',
|
|
'extId'
|
|
);
|