8283d35e56
* 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>
25 lines
327 B
SQL
Executable File
25 lines
327 B
SQL
Executable File
SELECT
|
|
`guid`,
|
|
`name`,
|
|
`namespace`,
|
|
`annotations`,
|
|
`labels`,
|
|
`created`,
|
|
`created_by`,
|
|
`updated`,
|
|
`updated_by`,
|
|
`description`,
|
|
`keeper`,
|
|
`decrypters`,
|
|
`ref`,
|
|
`external_id`,
|
|
`active`,
|
|
`version`
|
|
FROM
|
|
`secret_secure_value`
|
|
WHERE
|
|
`namespace` = 'ns' AND
|
|
`name` = 'name' AND
|
|
`active` = true
|
|
;
|