Struct google_cloudkms1::api::CryptoKeyVersion [−][src]
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).
- locations key rings crypto keys crypto key versions create projects (request|response)
- locations key rings crypto keys crypto key versions destroy projects (response)
- locations key rings crypto keys crypto key versions get projects (response)
- locations key rings crypto keys crypto key versions import projects (response)
- locations key rings crypto keys crypto key versions patch projects (request|response)
- locations key rings crypto keys crypto key versions restore projects (response)
Fields
algorithm: Option<String>Output only. The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
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.
create_time: Option<String>Output only. The time at which this CryptoKeyVersion was created.
destroy_event_time: Option<String>Output only. The time this CryptoKeyVersion's key material was destroyed. Only present if state is DESTROYED.
destroy_time: Option<String>Output only. The time this CryptoKeyVersion's key material is scheduled for destruction. Only present if state is DESTROY_SCHEDULED.
external_protection_level_options: Option<ExternalProtectionLevelOptions>ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level.
generate_time: Option<String>Output only. The time this CryptoKeyVersion's key material was generated.
import_failure_reason: Option<String>Output only. The root cause of an import failure. Only present if state is IMPORT_FAILED.
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.
import_time: Option<String>Output only. The time at which this CryptoKeyVersion's key material was imported.
name: Option<String>Output only. The resource name for this CryptoKeyVersion in the format projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*.
protection_level: Option<String>Output only. The ProtectionLevel describing how crypto operations are performed with this CryptoKeyVersion.
state: Option<String>The current state of the CryptoKeyVersion.
Trait Implementations
impl Clone for CryptoKeyVersion[src]
fn clone(&self) -> CryptoKeyVersion[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for CryptoKeyVersion[src]
impl Default for CryptoKeyVersion[src]
fn default() -> CryptoKeyVersion[src]
impl<'de> Deserialize<'de> for CryptoKeyVersion[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl RequestValue for CryptoKeyVersion[src]
impl ResponseResult for CryptoKeyVersion[src]
impl Serialize for CryptoKeyVersion[src]
Auto Trait Implementations
impl RefUnwindSafe for CryptoKeyVersion[src]
impl Send for CryptoKeyVersion[src]
impl Sync for CryptoKeyVersion[src]
impl Unpin for CryptoKeyVersion[src]
impl UnwindSafe for CryptoKeyVersion[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,