I created a endpoint on Google Cloud Platform Vertex AI and I managed to consume it with Postman with the following authentication process:
- Connect to GCP
- Open a gcloud console and run
gcloud auth login - Follow the process to authenticate yourself as user of the Google Cloud SDK
- Run
gcloud auth print-access-token - Copy the returned token and paste it onto Postman > Authorization > Type > Bearer Token
This token is only valid one hour.
How can I remove this repetitive manual authentication ? Could you describe another process for setting up automatic authentication ?

There is a documentation about token's lifetime here.