1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 14:56:05 +00:00

gcloud: Tue Mar 1 21:43:54 UTC 2022

This commit is contained in:
Automated 2022-03-01 21:43:54 +00:00
parent c1c3b75313
commit 21878eea72
1018 changed files with 4838 additions and 3409 deletions

View file

@ -46,8 +46,8 @@ EXAMPLES
account while also specifying a project, run:
$ gcloud beta auth activate-service-account \
SERVICE_ACCOUNT@DOMAIN.COM \
--key-file=/path/key.json --project=PROJECT_ID
SERVICE_ACCOUNT@DOMAIN.COM --key-file=/path/key.json \
--project=PROJECT_ID
POSITIONAL ARGUMENTS
[ACCOUNT]

View file

@ -29,8 +29,8 @@ EXAMPLES
access, run:
$ gcloud iam service-accounts create my-account
$ gcloud iam service-accounts keys create key.json
--iam-account=my-account@my-project.iam.gserviceaccount.com
$ gcloud iam service-accounts keys create key.json \
--iam-account=my-account@my-project.iam.gserviceaccount.com
$ export GOOGLE_APPLICATION_CREDENTIALS=key.json
$ ./my_application.sh

View file

@ -22,16 +22,32 @@ DESCRIPTION
For more details on Docker registries, see
https://docs.docker.com/registry/.
For more details on how to authenticate to Google Container Registry using
this command, see
https://cloud.google.com/container-registry/docs/advanced-authentication#gcloud-helper.
For more details on Google Container Registry's standalone credential
helpers, see https://github.com/GoogleCloudPlatform/docker-credential-gcr.
For more details on Docker credential helpers, see
https://docs.docker.com/engine/reference/commandline/login/#credential-helpers.
For more details on the Google Container Registry's Docker credential
helper, see https://github.com/GoogleCloudPlatform/docker-credential-gcr.
EXAMPLES
To configure docker authentication after logging into gcloud, run:
$ gcloud beta auth configure-docker
To configure docker authentication with Container Registry, e.g., gcr.io,
run:
$ gcloud beta auth configure-docker gcr.io
POSITIONAL ARGUMENTS
[REGISTRIES]
The comma-separated list of registries to configure the credential
helper for.
helper for. Container Registry is a service for storing private
container images. For available registries, see
https://cloud.google.com/container-registry/docs/pushing-and-pulling#add-registry.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,