[][src]Struct tough_kms::KmsKeySource

pub struct KmsKeySource {
    pub profile: Option<String>,
    pub key_id: String,
    pub client: Option<KmsClient>,
    pub signing_algorithm: KmsSigningAlgorithm,
}

Implements the KeySource trait for keys that live in AWS KMS

Fields

profile: Option<String>

Identifies AWS account named profile, if not provided default AWS profile is used.

key_id: String

Identifies an asymmetric CMK in AWS KMS.

client: Option<KmsClient>

KmsClient Object to query AWS KMS

signing_algorithm: KmsSigningAlgorithm

Signing Algorithm to be used for the message digest, only KmsSigningAlgorithm::RsassaPssSha256 is supported at present.

Trait Implementations

impl Debug for KmsKeySource[src]

impl KeySource for KmsKeySource[src]

Implement the KeySource trait.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,