Basic configuration (GCP)
Simple steps to enable your Google Cloud environmentSimple steps to enable your Google Cloud environment
Google Cloud Platform
In Google Cloud Platform (GCP), a Service Account is used by applications, scripts, or services to access GCP resources. This document will run through creating a Service Account with a key file. The key file is a JSON file containing a private key that your application will use to authenticate itself when accessing GCP services.
Service Accounts provide a secure and manageable way for your applications to access GCP resources. Instead of using your personal GCP account, you can create a specific identity for your application, reducing security risks and improving accountability.
As the creator of the service account, you and your organization retain full control over access to your environment; if access needs to be removed, you have the ability to remove access by the service account.
Sign in to the Google Cloud Console
Sign in to the Google Cloud Console using your GCP account and locate the Identity and Access Management (IAM) service where identity and authentication are managed in GCP.
Create a new Service Account
In the IAM & Admin section, select "Service accounts" from the left-hand menu and click the "+ CREATE SERVICE ACCOUNT" button. Enter the following details:
- Service account name: how it will be identified in GCP. Feel free to choose something meaningful for this purpose that conforms with other
- Service account ID: a unique ID for the service account
- Role: which roles will be assigned to this Service Account. Generally, "Project" > "Editor" is a common choice.