gcloud beta container binauthz policy import

NAME
gcloud beta container binauthz policy import - import a Binary Authorization policy to the current project
SYNOPSIS
gcloud beta container binauthz policy import POLICY_FILE [ --strict-validation ] [ GCLOUD_WIDE_FLAG ]
DESCRIPTION
(BETA) 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 beta container binauthz policy export command. One method of modifying the policy is to run $ gcloud beta 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 beta container binauthz policy import .
EXAMPLES
To update the current project's policy:
  gcloud  
beta  
container  
binauthz  
policy  
 export 
 
 > 
my_policy.yaml 
 edit  
my_policy.yaml 
 gcloud  
beta  
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 beta and might change without notice. These variants are also available:
  gcloud  
container  
binauthz  
policy  
import 
 
  gcloud  
alpha  
container  
binauthz  
policy  
import 
 
Design a Mobile Site
View Site in Mobile | Classic
Share by: