gcloud artifacts vpcsc-config allow Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud artifacts vpcsc-config allow - allow Artifact Registry remote repositories inside a service perimeter to retrieve data from their upstream sources outside of the perimeter
- SYNOPSIS
gcloud artifacts vpcsc-config allow[--location=LOCATION][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
- Allow Artifact Registry remote repositories inside a service perimeter toretrieve data from their upstream sources outside of the perimeter.
This command can fail for the following reasons:
- Lack of permission - "accesscontextmanager.policies.update".
- The resource could be outside of the VPC SC perimeter.
- Lack of permission - "artifactregistry.vpcscconfigs.update"
- EXAMPLES
- The following command allows remote repositories in the project my-project andin the region us--west1 to retrieve data from upstream sources outside theperimeter:
gcloudartifactsvpcsc-configallow--project=my-project--location=us-west1 - FLAGS
- Location resource - The Artifact Registry VPC SC config to update. Thisrepresents a Cloud resource. (NOTE) Some attributes are not given arguments inthis group but can be set in other ways.
To set the
projectattribute:- provide the argument
--locationon the command line with a fullyspecified name; - set the property
artifacts/locationwith a fully specified name; - provide the argument
--projecton the command line; - set the property
core/project.
- provide the argument
--location=LOCATION- ID of the location or fully qualified identifier for the location.
To set the
locationattribute:- provide the argument
--locationon the command line; - set the property
artifacts/location.
- provide the argument
- Location resource - The Artifact Registry VPC SC config to update. Thisrepresents a Cloud resource. (NOTE) Some attributes are not given arguments inthis group but can be set in other ways.
- 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 helpfor details. - API REFERENCE
- This command uses the
artifactregistry/v1API. The fulldocumentation for this API can be found at:https://cloud.google.com/artifacts/docs/ - NOTES
- These variants are also available:
gcloudalphaartifactsvpcsc-configallowgcloudbetaartifactsvpcsc-configallow
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 2026-01-21 UTC.