Mengaktifkan layanan Otorisasi Biner

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

Pertama-tama, buat atau pilih project. Anda mengaktifkan Otorisasi Biner di projectGoogle Cloud tempat Anda men-deploy container. Project ini sama dengan project 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. Verify 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. Jika Anda menggunakan penyedia identitas (IdP) eksternal, Anda harus login ke gcloud CLI dengan identitas gabungan Anda terlebih dahulu.

  7. Untuk melakukan inisialisasi gcloud CLI, jalankan perintah berikut:

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

    Go to project selector

  9. Verify that billing is enabled for your Google Cloud project.

  10. Enable the Binary Authorization API.

    Enable the API

  11. Install the Google Cloud CLI.

  12. Jika Anda menggunakan penyedia identitas (IdP) eksternal, Anda harus login ke gcloud CLI dengan identitas gabungan Anda terlebih dahulu.

  13. Untuk melakukan inisialisasi gcloud CLI, jalankan perintah berikut:

    gcloud init
  14. Otorisasi Biner diaktifkan. Sekarang Anda dapat menyiapkannya dengan platform pengelolaan penampung.

    Langkah berikutnya