How to create a Google Cloud service account?

A Google Cloud service account is a peculiar type of account used within your Google Cloud account that belongs to a Virtual Machine, and not to the Google Cloud account user.


What is a Google Cloud service account?

A Google Cloud service account is a peculiar type of account used within your  Google Cloud account   that belongs to a Virtual Machine, and not to the  Google Cloud account   user.

The application, such as SAP HANA or Wordpress for example, will use the Google Cloud service account to make any call to the Google API, and individual Google Cloud users aren’t directly involved – but the Google Cloud service account will be.

What are Google Cloud service accounts?
Check Point: 66% of Information Security Professionals believe that Cloud Protection doesn’t work

Creating a Google Cloud service account

To be able to create a Google Cloud service account and start using a virtual machine for an application, the first step is to login to your Google Cloud account, or create a fee  Google Cloud account   if you don’t have one yet.

Then, once in the Google Cloud dashboard, find the menu IAM&Admin > Service accounts. This will open the Gcloud service account screen.

From there, select an existing project if available, or choose to create a new project where applicable.

Enter the project name, and the location if necessary, and click create to continue.

Adding new service accounts

The next step once the project has been selected or newly created, is to add new Gcloud service accounts, but clicking on the three dots menu and selecting the create service account option.

From there, choose the role of the Google Cloud service account to be created, such as a Service Account Admin, which is generally necessary to start a new project on Google Cloud.

Master Website Creation: Enroll Now!

Transform your digital presence with our comprehensive Website Creation course – start your journey to becoming a web expert today!

Enroll Here

Transform your digital presence with our comprehensive Website Creation course – start your journey to becoming a web expert today!

Enter the Google Cloud service account details, such as his service account name, the corresponding service account ID, and the project role, which can be changed before the creation.

Service account private key

It will be necessary to select a type of private key to be used to identify the service account, which can be either a JSON file, or another format – JSON file will generally be good enough for any identification.

Once the Google Cloud service account has been created, the corresponding service key file will be saved on the computer and downloaded by the browser.

Use this file to identify your newly created Google Cloud service account when you will use it to access some of the other Google Cloud services.

Once the service account has been created, it will be visible from the list of existing service accounts that are accessible to the current user.

From that screen, it will be possible to edit any service account, disable it, or create a new private key, which will be either in JSON format, or in P12 format.

JSON data interchange format
P12 digital certificate file format

Frequently Asked Questions

How can users set up a Google Cloud service account for managing API calls and accessing cloud services programmatically?
In the Google Cloud Console, navigate to IAM & Admin > Service Accounts, and click Create Service Account. Enter a name, description, and assign roles that define permissions for accessing Google Cloud resources. Once created, generate and download a JSON key file for the service account, which will be used for authentication in API requests or service integrations.

Yoann Bierling
About the author - Yoann Bierling
Yoann Bierling is a Web Publishing & Digital Consulting professional, making a global impact through expertise and innovation in technologies. Passionate about empowering individuals and organizations to thrive in the digital age, he is driven to deliver exceptional results and drive growth through educational content creation.

Master Website Creation: Enroll Now!

Transform your digital presence with our comprehensive Website Creation course – start your journey to becoming a web expert today!

Enroll Here

Transform your digital presence with our comprehensive Website Creation course – start your journey to becoming a web expert today!



Comments (0)

Leave a comment