1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-16 12:22:03 +00:00
gcloud-help/gcloud/alpha/builds/get-default-service-account
2024-04-03 09:23:31 +00:00

43 lines
1.6 KiB
Text

NAME
gcloud alpha builds get-default-service-account - get the default service
account for a project
SYNOPSIS
gcloud alpha builds get-default-service-account [--region=REGION]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Get the default service account for a project.
EXAMPLES
To get the default service account for the project:
$ gcloud alpha builds get-default-service-account
FLAGS
--region=REGION
The region of the Cloud Build Service to use. Must be set to a
supported region name (e.g. us-central1). If unset, builds/region,
which is the default region to use when working with Cloud Build
resources, is used. If builds/region is unset, region is set to global.
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
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. These variants are also available:
$ gcloud builds get-default-service-account
$ gcloud beta builds get-default-service-account