Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Private Artifact

Hi everyone,

I'm new on this forum. I uploaded an artifact to Google Cloud. But it's public. I want to do private.

I don't know how.

0 2 189
2 REPLIES 2

To revoke public access, you need to remove the "allUser" member with the command:

gcloud artifacts repositories remove-policy-binding <your-repo-name> \
 --location=<your-zone> --member=allUsers --role=roles/artifactregistry.reader

 

Thank you.

filipealvesfer1