If necessary, you can create a new service account. For example, you might not want to use the default account for security reasons.
Step 1. You must have an active Google account.
Step 2. Using this account, open the setup tool.
Step 3. Click Create a project
and select API Project.
Step 4. Click Go to credentials
.
Step 5. Select the following parameters:
Step 6. Click What credentials do I need
Step 7. Enter Service account name and click Continue
.
Step 8. The account will be created, and a JSON file with account details will be downloaded to your local hard drive.
Please keep it in a safe place as it will be needed later.
The downloaded JSON will look similar to the code below:
{
"type": "service_account",
"project_id": "id",
"private_key_id": "key_id",
"private_key": "-----BEGIN PRIVATE KEY-----\key\n-----END PRIVATE KEY-----\n",
"client_email": "service account email",
"client_id": "client id",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://accounts.google.com/o/oauth2/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/etl-framework%40service-account@email"
}
The important part is the service account email.
Comments
0 comments
Please sign in to leave a comment.