Striim Migration Service for Google Cloud Documentation

Upload the service account key to SMSGC

SMSGC needs a service account key to authenticate its connection to Spanner.

  1. Create a service account for the project that contains your Spanner instance and download its key (see Creating service account keys).

  2. Give the service account the Cloud Spanner Database User or higher role (see Cloud Spanner Roles).

  3. Upload the key to the SMSGC VM. One way to do that is with the gcloud command-line tool:

    gcloud compute scp <JSON key file name> <SMSGC VM instance ID>:<path> --zone <VM zone>

    Additional options for uploading files are discussed in Transferring files to instances.