gdcloud iam service-accounts keys create

NAME

gdcloud iam service-accounts keys create - Create an application default credentials JSON file which contains a private key for a account di servizio.

SYNOPSIS

gdcloud iam service-accounts keys create FILE_NAME [flags]

DESCRIZIONE

Crea una coppia di chiavi pubblica/privata per il account di servizio di un progetto e inserisci la chiave privata in un file JSON. Il file può essere utilizzato per lo scambio con un token STS da AIS.

ESEMPI


  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 OBBLIGATORI

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

FLAG FACOLTATIVI

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

FLAG A LIVELLO DI GDCLOUD

Questi flag sono disponibili per tutti i comandi: --configuration, --format, --help, --project, --quiet.

Per saperne di più, consulta la pagina di panoramica del riferimento di gcloud CLI.