Using Console
Using CLI
<PATH_TO_POLICY_FILE>
with the path to the policy file on your local machine, and <PROJECT_ID>
with the ID of your GCP project.<PATH_TO_DEPLOYMENT_YAML_FILE>
with the path to the updated deployment YAML file on your local machine.Using Python
PROJECT_ID
with your actual GCP project ID.PROJECT_ID
with your actual GCP project ID.Once you have completed these steps, your GCP project will be configured to enforce the use of binary authorization for all container images.