Struct rusoto_kms::KeyMetadata [−][src]
Contains metadata about a customer master key (CMK).
This data type is used as a response element for the CreateKey and DescribeKey operations.
Fields
aws_account_id: Option<String>
The twelve-digit account ID of the AWS account that owns the CMK.
arn: Option<String>
The Amazon Resource Name (ARN) of the CMK. For examples, see AWS Key Management Service (AWS KMS) in the Example ARNs section of the AWS General Reference.
cloud_hsm_cluster_id: Option<String>
The cluster ID of the AWS CloudHSM cluster that contains the key material for the CMK. When you create a CMK in a custom key store, AWS KMS creates the key material for the CMK in the associated AWS CloudHSM cluster. This value is present only when the CMK is created in a custom key store.
creation_date: Option<f64>
The date and time when the CMK was created.
custom_key_store_id: Option<String>
A unique identifier for the custom key store that contains the CMK. This value is present only when the CMK is created in a custom key store.
customer_master_key_spec: Option<String>
Describes the type of key material in the CMK.
deletion_date: Option<f64>
The date and time after which AWS KMS deletes the CMK. This value is present only when KeyState
is PendingDeletion
.
description: Option<String>
The description of the CMK.
enabled: Option<bool>
Specifies whether the CMK is enabled. When KeyState
is Enabled
this value is true, otherwise it is false.
encryption_algorithms: Option<Vec<String>>
The encryption algorithms that the CMK supports. You cannot use the CMK with other encryption algorithms within AWS KMS.
This field appears only when the KeyUsage
of the CMK is ENCRYPT_DECRYPT
.
expiration_model: Option<String>
Specifies whether the CMK's key material expires. This value is present only when Origin
is EXTERNAL
, otherwise this value is omitted.
key_id: String
The globally unique identifier for the CMK.
key_manager: Option<String>
The manager of the CMK. CMKs in your AWS account are either customer managed or AWS managed. For more information about the difference, see Customer Master Keys in the AWS Key Management Service Developer Guide.
key_state: Option<String>
The current status of the CMK.
For more information about how key state affects the use of a CMK, see Key state: Effect on your CMK in the AWS Key Management Service Developer Guide.
key_usage: Option<String>
The cryptographic operations for which you can use the CMK.
origin: Option<String>
The source of the CMK's key material. When this value is AWS_KMS
, AWS KMS created the key material. When this value is EXTERNAL
, the key material was imported from your existing key management infrastructure or the CMK lacks key material. When this value is AWS_CLOUDHSM
, the key material was created in the AWS CloudHSM cluster associated with a custom key store.
signing_algorithms: Option<Vec<String>>
The signing algorithms that the CMK supports. You cannot use the CMK with other signing algorithms within AWS KMS.
This field appears only when the KeyUsage
of the CMK is SIGN_VERIFY
.
valid_to: Option<f64>
The time at which the imported key material expires. When the key material expires, AWS KMS deletes the key material and the CMK becomes unusable. This value is present only for CMKs whose Origin
is EXTERNAL
and whose ExpirationModel
is KEY_MATERIAL_EXPIRES
, otherwise this value is omitted.
Trait Implementations
impl Clone for KeyMetadata
[src]
fn clone(&self) -> KeyMetadata
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for KeyMetadata
[src]
impl Default for KeyMetadata
[src]
fn default() -> KeyMetadata
[src]
impl<'de> Deserialize<'de> for KeyMetadata
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<KeyMetadata> for KeyMetadata
[src]
fn eq(&self, other: &KeyMetadata) -> bool
[src]
fn ne(&self, other: &KeyMetadata) -> bool
[src]
impl Serialize for KeyMetadata
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for KeyMetadata
[src]
Auto Trait Implementations
impl RefUnwindSafe for KeyMetadata
impl Send for KeyMetadata
impl Sync for KeyMetadata
impl Unpin for KeyMetadata
impl UnwindSafe for KeyMetadata
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> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
[src]
T: ?Sized,
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>,