mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Thu Jun 22 10:31:35 UTC 2023
This commit is contained in:
parent
2102dc5511
commit
dc0d916cee
219 changed files with 5076 additions and 1639 deletions
|
|
@ -4,22 +4,54 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud beta services identity create --service=SERVICE
|
||||
[--folder=FOLDER | --organization=ORGANIZATION | --project=PROJECT_ID]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) This command creates a service identity for a consumer. The
|
||||
supported consumers are projects.
|
||||
supported consumers are projects, folders, and organizations.
|
||||
|
||||
EXAMPLES
|
||||
To create a service identity for a project, run:
|
||||
To create a service identity for a project, folder, or organization, run:
|
||||
|
||||
$ gcloud beta services identity create \
|
||||
--service=example.googleapis.com --project=helloworld
|
||||
$ gcloud beta services identity create \
|
||||
--service=example.googleapis.com --project=1234567890
|
||||
$ gcloud beta services identity create \
|
||||
--service=example.googleapis.com --folder=1234567890
|
||||
$ gcloud beta services identity create \
|
||||
--service=example.googleapis.com --organization=1234567890
|
||||
|
||||
REQUIRED FLAGS
|
||||
--service=SERVICE
|
||||
The service to create a service identity for.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
Container resource where the service identity will be used.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--folder=FOLDER
|
||||
Folder where the service identity will be used.
|
||||
|
||||
--organization=ORGANIZATION
|
||||
Organization where the service identity will be used.
|
||||
|
||||
--project=PROJECT_ID
|
||||
Project where the service identity will be used.
|
||||
|
||||
The Google Cloud project ID to use for this invocation. If omitted,
|
||||
then the current project is assumed; the current project can be
|
||||
listed using gcloud config list --format='text(core.project)' and can
|
||||
be set using gcloud config set project PROJECTID.
|
||||
|
||||
--project and its fallback core/project property play two roles in
|
||||
the invocation. It specifies the project of the resource to operate
|
||||
on. It also specifies the project for API enablement check, quota,
|
||||
and billing. To specify a different project for quota and billing,
|
||||
use --billing-project or billing/quota_project property.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue