gcloud alpha artifacts repositories

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 namemy-repo, run:
gcloudalphaartifactsrepositoriescreatemy-repo

To delete a repository with the namemy-repo, run:

gcloudalphaartifactsrepositoriesdeletemy-repo

To describe a repository with the namemy-repo, run:

gcloudalphaartifactsrepositoriesdescribemy-repo

To list all Artifact Registry repositories, run:

gcloudalphaartifactsrepositorieslist

To set an IAM policy for repositorymy-repo, run:

gcloudalphaartifactsrepositoriesset-iam-policymy-repopolicy.json

To get an IAM policy for repositorymy-repo, run:

gcloudalphaartifactsrepositoriesget-iam-policymy-repo

To add an IAM policy binding for the role of 'roles/editor' for the user'test-user@gmail.com' on repositorymy-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 repositorymy-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 help for details.

GROUPS
GROUP is one of the following:
config
(ALPHA) Manage Artifact Registry repository configurations.
COMMANDS
COMMAND is one of the following:
add-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:
gcloudartifactsrepositories
gcloudbetaartifactsrepositories

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.