[−][src]Struct vault_rs::secrets::transit::ConfigureKey
Parameters for Key Configuration
Fields
min_decryption_version: Option<u64>
Specifies the minimum version of ciphertext allowed to be decrypted. Adjusting this as part of a key rotation policy can prevent old copies of ciphertext from being decrypted, should they fall into the wrong hands. For signatures, this value contasync rols the minimum version of signature that can be verified against. For HMACs, this controls the minimum version of a key allowed to be used as the key for verification.
min_encryption_version: Option<u64>
Specifies the minimum version of the key that can be used to encrypt plaintext, sign payloads, or generate HMACs. Must be 0 (which will use the latest version) or a value greater or equal to min_decryption_version.
deletion_allowed: Option<bool>
Specifies if the key is allowed to be deleted.
exportable: Option<bool>
Enables keys to be exportable. This allows for all the valid keys in the key ring to be exported. Once set, this cannot be disabled.
allow_plaintext_backup: Option<bool>
If set, enables taking backup of named key in the plaintext format. Once set, this cannot be disabled.
Trait Implementations
impl Debug for ConfigureKey
[src]
impl Default for ConfigureKey
[src]
fn default() -> ConfigureKey
[src]
impl Eq for ConfigureKey
[src]
impl PartialEq<ConfigureKey> for ConfigureKey
[src]
fn eq(&self, other: &ConfigureKey) -> bool
[src]
fn ne(&self, other: &ConfigureKey) -> bool
[src]
impl Serialize for ConfigureKey
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for ConfigureKey
[src]
impl StructuralPartialEq for ConfigureKey
[src]
Auto Trait Implementations
impl RefUnwindSafe for ConfigureKey
impl Send for ConfigureKey
impl Sync for ConfigureKey
impl Unpin for ConfigureKey
impl UnwindSafe for ConfigureKey
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
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>,