Skip to content

Scripts to automate the creation of service accounts for Google Workspace migration products

License

Notifications You must be signed in to change notification settings

google/create-service-account

Create Service Account for Google Workspace Migration Products

These scripts are designed to automate the steps needed to create a service account for use with Google Workspace migration & sync products. They are meant to be executed within a Google Cloud Shell. The scripts generate a service account's private key JSON file which can then be provided to the migration or sync tool. The scripts automate the following:

  • Creates a GCP project
  • Enables APIs
  • Creates a service account
  • Authorizes the service account
  • Creates and downloads a service account key

Table of contents

Getting Started

In order to run these scripts, you must be a Google Workspace Super Administrator. The script that you execute will depend on which tool you are using. To get started, first select the tool that you are planning to use.

Usage

Google Workspace Migration for Microsoft Exchange (GWMME)

To create an authorized service account for Google Workspace Migration for Microsoft Exchange, copy and paste the command below in Cloud Shell.

  1. Open Cloud Shell
  2. Copy and paste the following command into Cloud Shell and press Enter.
python3 <(curl -s -S -L https://git.io/gwmme-create-service-account)

Google Workspace Migrate (GWM)

To create an authorized service account for Google Workspace Migration, copy and paste the command below in Cloud Shell.

  1. Open Cloud Shell
  2. Copy and paste the following command into Cloud Shell and press Enter.
python3 <(curl -s -S -L https://git.io/gwm-create-service-account)

Password Sync

To create an authorized service account for Password Sync, copy and paste the command below in Cloud Shell.

  1. Open Cloud Shell
  2. Copy and paste the following command into Cloud Shell and press Enter.
python3 <(curl -s -S -L https://git.io/password-sync-create-service-account)

Help

Bugs and Feature Requests

These scripts are not an officially supported Google product. Therefore, there is no guarantee or ETA for bug fixes or feature requests. That being said, if you think that there may be a bug or you want to request a feature, then please create a new issue.

Alternatives

If these scripts are not working for you, then you can use the manual steps instead. Select which product you are trying to create a service account for to see the manual steps


This is not an officially supported Google product.

About

Scripts to automate the creation of service accounts for Google Workspace migration products

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages