WireSegHR / scripts /drive-viewer-key-readme.md
MRiabov's picture
README and cleanup
e05cc17

Setting Up Google Drive Access via Service Account (PyDrive2)

You'll need a service account to fetch the WireSegHR dataset using a script in this folder. Follow the steps below:

  1. Create a Service Account

    • Navigate to the Google Cloud Console. Under IAM & Admin → Service Accounts, create a new service account.
    • Assign it a Viewer role.
  2. Generate and Download JSON Key

    • In the service account details, go to Keys → Add Key → Create new key, choose JSON, and download the key file.
    • Save this file locally to this repo as secrets/drive-json.json.
  3. Share the Drive Folder or Files