GetKeyResult constructor

const GetKeyResult({
  1. required bool disabled,
  2. required String keyAlgorithm,
  3. required String keyOrigin,
  4. required String keyType,
  5. required String name,
  6. required String privateKeyData,
  7. required String privateKeyType,
  8. required String publicKeyData,
  9. required String validAfterTime,
  10. required String validBeforeTime,
})

Creates a new GetKeyResult. disabled The key status. keyAlgorithm Specifies the algorithm (and possibly key size) for the key. keyOrigin The key origin. keyType The key type. name The resource name of the service account key in the following format projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}. privateKeyData 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. privateKeyType 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. publicKeyData The public key data. Only provided in GetServiceAccountKey responses. validAfterTime The key can be used after this timestamp. validBeforeTime 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.

Implementation

const GetKeyResult({
  required this.disabled,
  required this.keyAlgorithm,
  required this.keyOrigin,
  required this.keyType,
  required this.name,
  required this.privateKeyData,
  required this.privateKeyType,
  required this.publicKeyData,
  required this.validAfterTime,
  required this.validBeforeTime,
});