Enabling the service

This page explains how to enable Binary Authorization in your environment. This step is part of setting up Binary Authorization.

Create a project

If you don't already have a Google Cloud Platform project, create one now.

Enable billing

If billing for your project is not enabled:

console

  1. Go to the Google Cloud Platform Console.
  2. From the projects list, select your project.
  3. Open the console left side menu and select Billing.
  4. Click Link a billing account.
  5. Select a billing account and click Set account.

Enable required APIs

Enable the APIs for Google Kubernetes Engine (GKE), Container Analysis and Binary Authorization:

gcloud

  1. Set the default project:

    gcloud config set project PROJECT_ID
    

    where PROJECT_ID is the ID of your project.

  2. Enable the required APIs:

    gcloud services enable \
        container.googleapis.com \
        containeranalysis.googleapis.com \
        binaryauthorization.googleapis.com
    

console

Enable the required APIs:

Enable the APIs

It can take a few minutes for this operation to complete.

What's next

Trang này có hữu ích không? Hãy cho chúng tôi biết đánh giá của bạn:

Gửi phản hồi về...

Binary Authorization Documentation