gcloud alpha container binauthz policy export-system-policy Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud alpha container binauthz policy export-system-policy - export the Binary Authorization system policy
- SYNOPSIS
gcloud alpha container binauthz policy export-system-policy[--location=LOCATION; default="global"][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(ALPHA)For reliability reasons, the system policy is updated oneregion at a time. Because of this precaution, the system policy can differbetween regions during an update. Use --location to view the system policy of aspecific region.If --location is not specified, an arbitrary region is used. (Specifically, aregion in the last group of regions to receive updates. Since most changes areadditions, this will show the minimal set of system images that are allowed inall regions.)
- EXAMPLES
- To view the system policy:
gcloudalphacontainerbinauthzpolicyexport-system-policyTo view the system policy in the region us-central1:
gcloudalphacontainerbinauthzpolicyexport-system-policy--location=us-central1 - FLAGS
--location=LOCATION; default="global"- The region for which to get the system policy (or "global").
LOCATIONmust be one of:global,africa-south1,asia-east1,asia-east2,asia-northeast1,asia-northeast2,asia-northeast3,asia-south1,asia-south2,asia-southeast1,asia-southeast2,australia-southeast1,australia-southeast2,europe-central2,europe-north1,europe-southwest1,europe-west1,europe-west10,europe-west12,europe-west2,europe-west3,europe-west4,europe-west6,europe-west8,europe-west9,me-central1,me-central2,me-west1,northamerica-northeast1,northamerica-northeast2,southamerica-east1,southamerica-west1,us-central1,us-central2,us-east1,us-east4,us-east5,us-east7,us-south1,us-west1,us-west2,us-west3,us-west4,us-west8.
- 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. - 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.
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.