NAME
gdcloud iam service-accounts keys create - Crea un archivo JSON de credenciales predeterminadas de la aplicación que contiene una clave privada para una cuenta de servicio.
SYNOPSIS
gdcloud iam service-accounts keys create FILE_NAME [flags]
DESCRIPTION
Crea un par de claves pública y privada para la cuenta de servicio de un proyecto y coloca la clave privada en un archivo JSON. El archivo se puede usar para intercambiarlo por un token de STS de 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
REQUIRED FLAGS
--iam-account string Project's service account to create the key for. The flag is required to run the command.
OPTIONAL FLAGS
--ca-cert-path string CA cert path to verify the authentication endpoint. If omitted, then the system cert chain will be used.
GDCLOUD WIDE FLAGS
Estos indicadores están disponibles para todos los comandos: --configuration, --format, --help, --project y --quiet.
Para obtener más información, consulta la página de resumen de la referencia de la CLI de gdcloud.