[−][src]Struct vault_rs::secrets::transit::Key
Transit Engine Key
Fields
name: String
Specifies the name of the encryption key to create.
derived: bool
Specifies if key derivation is to be used. If enabled, all encrypt/decrypt requests to this named key must provide a context which is used for key derivation.
exportable: 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: bool
If set, enables taking backup of named key in the plaintext format. Once set, this cannot be disabled.
type: KeyType
Specifies the type of key to create.
deletion_allowed: bool
Whether they key can be deleted
keys: HashMap<String, Value>
List of key versions
min_decryption_version: u64
Minimum decryption version
min_encryption_version: u64
Minimum encryption version
supports_encryption: bool
Key supports encryption
supports_decryption: bool
Key supports decryption
supports_derivation: bool
Key supports derivation
supports_signing: bool
Key supports signing
Trait Implementations
impl Debug for Key
[src]
impl Default for Key
[src]
impl<'de> Deserialize<'de> for Key
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<Key> for Key
[src]
impl StructuralPartialEq for Key
[src]
Auto Trait Implementations
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
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<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
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>,