google_api_cloud_kms v0.1.0 GoogleApi.CloudKMS.V1.Model.CryptoKeyVersion View Source

A CryptoKeyVersion represents an individual cryptographic key, and the associated key material. It can be used for cryptographic operations either directly, or via its parent CryptoKey, in which case the server will choose the appropriate version for the operation. For security reasons, the raw cryptographic key material represented by a CryptoKeyVersion can never be viewed or exported. It can only be used to encrypt or decrypt data when an authorized user or application invokes Cloud KMS.

Attributes

  • createTime (DateTime.t): Output only. The time at which this CryptoKeyVersion was created. Defaults to: null.
  • destroyEventTime (DateTime.t): Output only. The time this CryptoKeyVersion's key material was destroyed. Only present if state is DESTROYED. Defaults to: null.
  • destroyTime (DateTime.t): Output only. The time this CryptoKeyVersion's key material is scheduled for destruction. Only present if state is DESTROY_SCHEDULED. Defaults to: null.
  • name (String.t): Output only. The resource name for this CryptoKeyVersion in the format `projects//locations//keyRings//cryptoKeys//cryptoKeyVersions/*`. Defaults to: null.
  • state (String.t): The current state of the CryptoKeyVersion. Defaults to: null.

    • Enum - one of [CRYPTO_KEY_VERSION_STATE_UNSPECIFIED, ENABLED, DISABLED, DESTROYED, DESTROY_SCHEDULED]

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.CloudKMS.V1.Model.CryptoKeyVersion{
  createTime: DateTime.t(),
  destroyEventTime: DateTime.t(),
  destroyTime: DateTime.t(),
  name: any(),
  state: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.