vault icon indicating copy to clipboard operation
vault copied to clipboard

Unable to update key_id of secret

Open joshenlim opened this issue 3 years ago • 1 comments

Bug report

Describe the bug

Running a query to update the key_id of a secret throws the following error Failed to run sql query: invalid base64 end sequence

This is done by updating the key_id and the secret column of the decrypted_secrets view from vault in the same request This may be the same as https://github.com/supabase/vault/issues/10 as both are updating the secret column

joshenlim avatar Nov 30 '22 07:11 joshenlim

This should be fixed by using the vault.update_secret() function in the latest release, lmk if that works for you. Thanks!

michelp avatar Dec 05 '22 17:12 michelp