[−][src]Struct vault_rs::secrets::transit::CreateKey
Parameters for creating a new Key
Fields
name: String
Specifies the name of the encryption key to create.
convergent_encryption: Option<bool>
If enabled, the key will support convergent encryption, where the same plaintext creates the same ciphertext. This requires derived to be set to true. When enabled, each encryption(/decryption/rewrap/datakey) operation will derive a nonce value rather than randomly generate it.
derived: Option<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: 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.
type: KeyType
Specifies the type of key to create.
Trait Implementations
impl Debug for CreateKey
[src]
impl Default for CreateKey
[src]
impl Eq for CreateKey
[src]
impl PartialEq<CreateKey> for CreateKey
[src]
impl Serialize for CreateKey
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for CreateKey
[src]
impl StructuralPartialEq for CreateKey
[src]
Auto Trait Implementations
impl RefUnwindSafe for CreateKey
impl Send for CreateKey
impl Sync for CreateKey
impl Unpin for CreateKey
impl UnwindSafe for CreateKey
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>,