gcloud alpha artifacts repositories Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud alpha artifacts repositories - manage Artifact Registry repositories
- SYNOPSIS
gcloud alpha artifacts repositoriesGROUP|COMMAND[GCLOUD_WIDE_FLAG …]
- EXAMPLES
- To create a repository with the name
my-repo, run:gcloudalphaartifactsrepositoriescreatemy-repoTo delete a repository with the name
my-repo, run:gcloudalphaartifactsrepositoriesdeletemy-repoTo describe a repository with the name
my-repo, run:gcloudalphaartifactsrepositoriesdescribemy-repoTo list all Artifact Registry repositories, run:
gcloudalphaartifactsrepositorieslistTo set an IAM policy for repository
my-repo, run:gcloudalphaartifactsrepositoriesset-iam-policymy-repopolicy.jsonTo get an IAM policy for repository
my-repo, run:gcloudalphaartifactsrepositoriesget-iam-policymy-repoTo add an IAM policy binding for the role of 'roles/editor' for the user'test-user@gmail.com' on repository
my-repo, run:gcloudalphaartifactsrepositoriesadd-iam-policy-bindingmy-repo--member='user:test-user@gmail.com'--role='roles/editor'To remove an IAM policy binding for the role of 'roles/editor' for the user'test-user@gmail.com' on repository
my-repo, run:gcloudalphaartifactsrepositoriesremove-iam-policy-bindingmy-repo--member='user:test-user@gmail.com'--role='roles/editor' - GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$gcloud helpfor details. - GROUPS
is one of the following:GROUPconfig(ALPHA)Manage Artifact Registry repository configurations.
- COMMANDS
is one of the following:COMMANDadd-iam-policy-binding(ALPHA)Add an IAM policy binding to the IAM policy of an ArtifactRegistry repository.create(ALPHA)Create an Artifact Registry repository.delete(ALPHA)Delete an Artifact Registry repository.describe(ALPHA)Describe an Artifact Registry repository.get-iam-policy(ALPHA)Get IAM policy for an Artifact Registry repository.list(ALPHA)List repositories in the specified project.remove-iam-policy-binding(ALPHA)Remove an IAM policy binding from the IAM policy of anArtifact Registry repository.set-iam-policy(ALPHA)Set the IAM policy for an Artifact Registry repository.update(ALPHA)Update an Artifact Registry repository.
- NOTES
- This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. These variants are also available:
gcloudartifactsrepositoriesgcloudbetaartifactsrepositories
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.