gdcloud iam service-accounts keys create

NOM

gdcloud iam service-accounts keys create : créez un fichier JSON d'identifiants par défaut de l'application contenant une clé privée pour un compte de service.

SYNOPSIS

gdcloud iam service-accounts keys create FILE_NAME [flags]

DESCRIPTION

Créez une paire de clés publique/privée pour le compte de service d'un projet et placez la clé privée dans un fichier JSON. Le fichier peut être utilisé pour échanger un jeton STS depuis AIS.

EXAMPLES


  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

DRAPEAUX REQUIS

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

INDICATEURS FACULTATIFS

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

OPTIONS GCLOUD GÉNÉRALES

Ces options sont disponibles pour toutes les commandes : --configuration, --format, --help, --project, --quiet.

Pour en savoir plus, consultez la page de présentation de la documentation de référence de la gcloud CLI.