File: //snap/google-cloud-cli/394/help/man/man1/gcloud_container_binauthz_policy_export.1
.TH "GCLOUD_CONTAINER_BINAUTHZ_POLICY_EXPORT" 1
.SH "NAME"
.HP
gcloud container binauthz policy export \- export the Binary Authorization policy for the current project
.SH "SYNOPSIS"
.HP
\f5gcloud container binauthz policy export\fR [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
This function's default output is a valid policy YAML file. If dumped to a file
and edited, the new policy can be provided to the \f5$ gcloud container binauthz
policy import\fR command to cause these edits to be reflected in the project
policy.
.SH "EXAMPLES"
To export the current project's policy:
.RS 2m
$ gcloud container binauthz policy export > my_policy.yaml
.RE
.SH "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 \fB$ gcloud help\fR for details.
.SH "NOTES"
These variants are also available:
.RS 2m
$ gcloud alpha container binauthz policy export
.RE
.RS 2m
$ gcloud beta container binauthz policy export
.RE