1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-11 07:29:40 +00:00

gcloud: Wed Apr 23 10:54:24 UTC 2025

This commit is contained in:
Automated 2025-04-23 10:54:24 +00:00
parent b589c4c4ad
commit 4d8dd33b3e
138 changed files with 4506 additions and 597 deletions

View file

@ -4,6 +4,7 @@ NAME
SYNOPSIS
gcloud services api-keys create [--annotations=[KEY=VALUE,...]] [--async]
[--display-name=DISPLAY_NAME] [--key-id=KEY_ID]
[--service-account=SERVICE_ACCOUNT]
[--api-target=service=SERVICE,[...]
--allowed-application=[sha1_fingerprint=SHA1_FINGERPRINT,
package_name=PACKAGE_NAME,...]
@ -51,6 +52,11 @@ EXAMPLES
--api-target=service=bar.service.com \
--api-target=service=foo.service.com
To create a key with service account:
$ gcloud services api-keys create \
--service-account=my-service-account
To create a key with allowed API targets (service and methods are
specified):
@ -81,6 +87,10 @@ FLAGS
--key-id=KEY_ID
User-specified ID of the key to create.
--service-account=SERVICE_ACCOUNT
The email of the service account the key is bound to. If this field is
specified, the key is a service account bound key and auth enabled.
--api-target=service=SERVICE,[...]
Repeatable. Specify service and optionally one or multiple specific
methods. Both fields are case insensitive. If you need to specify