[][src]Struct google_cloudkms1::CryptoKeyVersion

pub struct CryptoKeyVersion {
    pub destroy_time: Option<String>,
    pub import_failure_reason: Option<String>,
    pub name: Option<String>,
    pub algorithm: Option<String>,
    pub protection_level: Option<String>,
    pub attestation: Option<KeyOperationAttestation>,
    pub state: Option<String>,
    pub destroy_event_time: Option<String>,
    pub generate_time: Option<String>,
    pub create_time: Option<String>,
    pub import_time: Option<String>,
    pub import_job: Option<String>,
}

A CryptoKeyVersion represents an individual cryptographic key, and the associated key material.

An ENABLED version can be used for cryptographic operations.

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, decrypt, or sign data when an authorized user or application invokes Cloud KMS.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

destroy_time: Option<String>

Output only. The time this CryptoKeyVersion's key material is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.

import_failure_reason: Option<String>

Output only. The root cause of an import failure. Only present if state is IMPORT_FAILED.

name: Option<String>

Output only. The resource name for this CryptoKeyVersion in the format projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*.

algorithm: Option<String>

Output only. The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.

protection_level: Option<String>

Output only. The ProtectionLevel describing how crypto operations are performed with this CryptoKeyVersion.

attestation: Option<KeyOperationAttestation>

Output only. Statement that was generated and signed by the HSM at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only provided for key versions with protection_level HSM.

state: Option<String>

The current state of the CryptoKeyVersion.

destroy_event_time: Option<String>

Output only. The time this CryptoKeyVersion's key material was destroyed. Only present if state is DESTROYED.

generate_time: Option<String>

Output only. The time this CryptoKeyVersion's key material was generated.

create_time: Option<String>

Output only. The time at which this CryptoKeyVersion was created.

import_time: Option<String>

Output only. The time at which this CryptoKeyVersion's key material was imported.

import_job: Option<String>

Output only. The name of the ImportJob used to import this CryptoKeyVersion. Only present if the underlying key material was imported.

Trait Implementations

impl ResponseResult for CryptoKeyVersion[src]

impl RequestValue for CryptoKeyVersion[src]

impl Default for CryptoKeyVersion[src]

impl Clone for CryptoKeyVersion[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for CryptoKeyVersion[src]

impl Serialize for CryptoKeyVersion[src]

impl<'de> Deserialize<'de> for CryptoKeyVersion[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]