Mengaktifkan layanan Otorisasi Biner

Halaman ini menjelaskan cara mengaktifkan Otorisasi Biner di project deployer Anda.

Pertama-tama, Anda harus membuat atau memilih project. Anda mengaktifkan Otorisasi Biner di project Google Cloud tempat Anda men-deploy container. Ini adalah project yang sama tempat Anda menjalankan platform yang didukung, seperti Google Kubernetes Engine (GKE), Cloud Run, atau Google Distributed Cloud.

Untuk mengaktifkan Otorisasi Biner, ikuti langkah-langkah berikut:

  1. Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
  2. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  3. Make sure that billing is enabled for your Google Cloud project.

  4. Enable the Binary Authorization API.

    Enable the API

  5. Install the Google Cloud CLI.
  6. To initialize the gcloud CLI, run the following command:

    gcloud init
  7. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  8. Make sure that billing is enabled for your Google Cloud project.

  9. Enable the Binary Authorization API.

    Enable the API

  10. Install the Google Cloud CLI.
  11. To initialize the gcloud CLI, run the following command:

    gcloud init

Otorisasi Biner diaktifkan. Anda kini dapat menyiapkannya dengan platform pengelolaan penampung.

Langkah selanjutnya