Cloud Keys 2020 Kotlin Edition

Questions / Feedback?

GoogleKey Type

A Google KMS key.

Remarks

This type represents a Google KMS key.

Fields

CreationDate
String?

The key's creation date.

This field reflects the key's creation date, formatted as an RFC 3339 UTC timestamp.

Name
String?

The name of the key.

This field reflects the name of the key.

NextRotateDate
String?

The key's next rotation date.

This field reflects the key's next rotation date, formatted as an RFC 3339 UTC timestamp, or empty string if automatic rotation is not enabled.

Note that automatic rotation is only supported for symmetric keys.

PrimaryVersion
String?

The Id of the key's primary version.

For symmetric keys, this field reflects the Id of the key's primary version. For asymmetric keys, this field is always empty, since asymmetric keys cannot have a primary version.

Purpose
GoogleKeyPurposes

The key's purpose.

This field reflects the key's purpose. Possible values are:

  • gkpUnspecified (0)
  • gkpEncryptDecrypt (1) (indicates the key is symmetric)
  • gkpAsymmetricSign (2)
  • gkpAsymmetricDecrypt (3)

RotationPeriod
String?

The key's rotation period.

This field reflects the key's rotation period, formatted as a number of seconds with up to nine fractional digits with a trailing s (e.g., 3.5984s); or empty string if automatic rotation is not enabled.

Note that automatic rotation is only supported for symmetric keys.

TemplateAlgorithm
String?

The algorithm to use when new versions of the key are created.

This field reflects the algorithm to use when new versions of the key are created by CreateVersion.

TemplateProtectionLevel
String?

The protection level to use when new versions of the key are created.

This field reflects the protection level to use when new versions of the key are created by CreateVersion. Possible values are:

  • SOFTWARE
  • HSM
  • EXTERNAL

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
Cloud Keys 2020 Kotlin Edition - Version 20.0 [Build 7876]