vault
vault copied to clipboard
Unable to update key_id of secret
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
This should be fixed by using the vault.update_secret() function in the latest release, lmk if that works for you. Thanks!