VueJS + Gravity Forms API
You should have a server that will make the API request for you. Do not put this in exposed FE code as it's easily viewed by the public.
The safe way to do it would be:
FrontEnd VueJS project -> make API request to your server (backend) -> makes API request to Gravity Forms using the private key.