gcloud alpha container binauthz policy import

NAME
gcloud alpha container binauthz policy import - import a Binary Authorization policy to the current project
SYNOPSIS
gcloud alpha container binauthz policy import POLICY_FILE [--strict-validation] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) This command accepts a description of the desired policy in the form of a YAML-formatted file. A representation of the current policy can be retrieved using the $ gcloud alpha container binauthz policy export command. One method of modifying the policy is to run $ gcloud alpha container binauthz policy export, dump the contents to a file, modify the policy file to reflect the desired new policy, and provide this modified file to $ gcloud alpha container binauthz policy import.
EXAMPLES
To update the current project's policy:
gcloud alpha container binauthz policy export > my_policy.yaml
edit my_policy.yaml
gcloud alpha container binauthz policy import my_policy.yaml
POSITIONAL ARGUMENTS
POLICY_FILE
The file containing the YAML-formatted policy description.
FLAGS
--strict-validation
Whether to perform additional checks on the validity of policy contents.
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 help for details.

NOTES
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. These variants are also available:
gcloud container binauthz policy import
gcloud beta container binauthz policy import