NAME

gcloud alpha artifacts repositories - manage Artifact Registry repositories

SYNOPSIS

gcloud alpha artifacts repositories GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]

EXAMPLES

To create a repository with the name my-repo, run:

$ gcloud alpha artifacts repositories create my-repo

To delete a repository with the name my-repo, run:

$ gcloud alpha artifacts repositories delete my-repo

To describe a repository with the name my-repo, run:

$ gcloud alpha artifacts repositories describe my-repo

To list all Artifact Registry repositories, run:

$ gcloud alpha artifacts repositories list

To set an IAM policy for repository my-repo, run:

$ gcloud alpha artifacts repositories set-iam-policy my-repo \ policy.json

To get an IAM policy for repository my-repo, run:

$ gcloud alpha artifacts repositories get-iam-policy my-repo

To add an IAM policy binding for the role of 'roles/editor' for the user 'test-user@gmail.com' on repository my-repo, run:

$ gcloud alpha artifacts repositories add-iam-policy-binding \ my-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:

$ gcloud alpha artifacts repositories remove-iam-policy-binding \ my-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 Artifact Registry 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 an Artifact 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 this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. These variants are also available:

$ gcloud artifacts repositories

$ gcloud beta artifacts repositories