privateKeyType property

String? privateKeyType
getter/setter pair

The output format for the private key.

Only provided in CreateServiceAccountKey responses, not in GetServiceAccountKey or ListServiceAccountKey responses. Google never exposes system-managed private keys, and never retains user-managed private keys. Possible string values are:

  • "TYPE_UNSPECIFIED" : Unspecified. Equivalent to TYPE_GOOGLE_CREDENTIALS_FILE.
  • "TYPE_PKCS12_FILE" : PKCS12 format. The password for the PKCS12 file is notasecret. For more information, see https://tools.ietf.org/html/rfc7292.
  • "TYPE_GOOGLE_CREDENTIALS_FILE" : Google Credentials File format.

Implementation

core.String? privateKeyType;