Skip to content

Google Cloud Authentication Setup

Mack edited this page Sep 20, 2023 · 4 revisions

Setting up to test a GCP API

For working with the precision-feedback-pipeline API, continue reading.

  1. Contact the developers to get access to the client secret details (service account and target audience)

  2. Create your service account file in a text editor

    • Make sure to save it as a .json file, with the proper encoding
    • Copy the file as a path with right click, or any way you like.

  1. Set your SAPATH environmental variable
    • Set SAPATH to "path\to\service_account_details.json"
    • If you need help setting an env var, see the wiki page here for detailed instructions.

  1. Set your TARGET_AUDIENCE environmental variable
    • Using the target audience string (ask developers for a copy!), set the env var TARGET_AUDIENCE to "target audience string details"

Clone this wiki locally