gcloud beta artifacts docker upgrade print-iam-policy

NAME
gcloud beta artifacts docker upgrade print-iam-policy - print an Artifact Registry IAM policy for Container Registry to Artifact Registry upgrade
SYNOPSIS
gcloud beta artifacts docker upgrade print-iam-policy DOMAIN [ GCLOUD_WIDE_FLAG ]
DESCRIPTION
(BETA) Print an Artifact Registry IAM policy that is equivalent to the IAM policy applied to the storage bucket for the specified Container Registry hostname. Apply the returned policy to the Artifact Registry repository that will replace the specified host. If the project has an organization, this command analyzes IAM policies at the organization level. Otherwise, this command analyzes IAM policies at the project level. See required permissions at https://cloud.google.com/policy-intelligence/docs/analyze-iam-policies#required-permissions .
EXAMPLES
To print an equivalent Artifact Registry IAM policy for 'gcr.io/my-project':
 gcloud  
beta  
artifacts  
docker  
upgrade  
print-iam-policy  
upgrade  
print-iam-policy  
gcr.io  
 --project 
 = 
my-project 
POSITIONAL ARGUMENTS
DOMAIN
A Container Registry domain. Valid values are: [gcr.io, asia.gcr.io, eu.gcr.io, us.gcr.io]
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 beta and might change without notice.
Create a Mobile Website
View Site in Mobile | Classic
Share by: