gcloud builds get-default-service-account

NAME
gcloud builds get-default-service-account - get the default service account for a project
SYNOPSIS
gcloud builds get-default-service-account[--region=REGION][GCLOUD_WIDE_FLAG]
DESCRIPTION
Get the default service account for a project.
EXAMPLES
To get the default service account for the project:
gcloudbuildsget-default-service-account
FLAGS
--region=REGION
The region of the Cloud Build Service to use. Must be set to a supported regionname (e.g.us-central1). If unset,builds/region,which is the default region to use when working with Cloud Build resources, isused. If builds/region is unset, region is set toglobal. Note:Region must be specified in 2nd gen repo;global is not supported.
GCLOUD WIDE FLAGS
These flags are available to all commands:--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.

Run$gcloud help for details.

NOTES
These variants are also available:
gcloudalphabuildsget-default-service-account
gcloudbetabuildsget-default-service-account

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.