Vault Help
I have enabled, ran sql queries, exposed the vault schema but i keep getting the same error:
Any ideas?
Here is the code triggering this error:
PS if i run:
I get:
2 Replies
You have to use .schema() in your REST query. And you have to add the schema to the API setting. And you have to grant user roles to access.
This seems like a bad idea. Use an RPC call to a security definer function if you must. Vault though is not intended for general user data
This seems like a bad idea. Use an RPC call to a security definer function if you must. Vault though is not intended for general user data
hi gary thanks for the reply,
It’s not general user data — a subset of users will need to sign requests with private keys, and I plan to store those keys securely in Vault.
this is part of a server side route hat creates key pairs and i wanted to store the private key in vault and then store the vault id on a user table,
Im new to vault so sorry for confusion
Is this something that would be acceptable?: