Struct tough_kms::KmsKeySource [−][src]
pub struct KmsKeySource {
pub profile: Option<String>,
pub key_id: String,
pub client: Option<KmsClient>,
pub signing_algorithm: KmsSigningAlgorithm,
}
Expand description
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
Implement the KeySource
trait.