How to Create a Service Account for Bytebase
- Go to Google Cloud console.
- Click APIs & Services and then Credentials. You might have to click Menu on the top left first.
- Click Create Credentials and then Service account.
- For Service account name, enter a name for the service account.
- Click Create and Continue.
- For Select a role, select Cloud Spanner Database Admin for the service account.
- Click Done.
- Click the created service account.
- At the top, click Keys and then Add Key and then Create new key. Make sure the key type is set to JSON and click Create.
- You'll get a message that the service account's private key JSON file was downloaded to your computer. Make a note of the file name and where your browser saves it. You'll need it later.
When adding an instance in Bytebase, the Credentials
input should be the content of the JSON file.