hardgcloud

Export the Binary Authorization policy to a YAML file

command

gcloud container binauthz policy export > policy.yaml

also accepted

gcloud container binauthz policy exportgcloud beta container binauthz policy export

Command breakdown

Part of the Google Cloud CLI (gcloud) — Alpha & Beta category.

gcloudcontainerbinauthzpolicyexport>policy.yaml

Test your recall — not just your reading.

Practice with interactive quiz →