gdcloud iam service-accounts keys create

NAMA

gdcloud iam service-accounts keys create - Membuat file JSON kredensial default aplikasi yang berisi kunci pribadi untuk akun layanan.

SINOPSIS

gdcloud iam service-accounts keys create FILE_NAME [flags]

DESKRIPSI

Buat pasangan kunci publik/pribadi untuk akun layanan project dan masukkan kunci pribadi ke dalam file JSON. File tersebut dapat digunakan untuk menukar token STS dari AIS.

CONTOH


  To create an application default credentials JSON file "/tmp/my-key.json" for service account "psa-test" in project "iam-test" using cacert file "/tmp/ca.crt", run:

    gdcloud iam service-accounts keys create /tmp/my-key.json --iam-account=psa-test --project=iam-test --ca-cert-path=/tmp/ca.crt

FLAG WAJIB

      --iam-account string   Project's service account to create the key for. The flag is required to run the command.

FLAG OPSIONAL

      --ca-cert-path string   CA cert path to verify the authentication endpoint. If omitted, then the system cert chain will be used.

FLAG GDCLOUD WIDE

Flag ini tersedia untuk semua perintah: --configuration, --format, --help, --project, --quiet.

Untuk mengetahui informasi selengkapnya, lihat halaman ringkasan referensi gcloud CLI.