GetKeyResult

data class GetKeyResult(val disabled: Boolean, val keyAlgorithm: String, val keyOrigin: String, val keyType: String, val name: String, val privateKeyData: String, val privateKeyType: String, val publicKeyData: String, val validAfterTime: String, val validBeforeTime: String)

Constructors

Link copied to clipboard
fun GetKeyResult(disabled: Boolean, keyAlgorithm: String, keyOrigin: String, keyType: String, name: String, privateKeyData: String, privateKeyType: String, publicKeyData: String, validAfterTime: String, validBeforeTime: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The key status.

Link copied to clipboard

Specifies the algorithm (and possibly key size) for the key.

Link copied to clipboard

The key origin.

Link copied to clipboard

The key type.

Link copied to clipboard

The resource name of the service account key in the following format projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}.

Link copied to clipboard

The private key data. Only provided in CreateServiceAccountKey responses. Make sure to keep the private key data secure because it allows for the assertion of the service account identity. When base64 decoded, the private key data can be used to authenticate with Google API client libraries and with gcloud auth activate-service-account.

Link copied to clipboard

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.

Link copied to clipboard

The public key data. Only provided in GetServiceAccountKey responses.

Link copied to clipboard

The key can be used after this timestamp.

Link copied to clipboard

The key can be used before this timestamp. For system-managed key pairs, this timestamp is the end time for the private key signing operation. The public key could still be used for verification for a few hours after this time.