Struct scratchstack_aws_signature::KDateKey
source · pub struct KDateKey { /* private fields */ }
Expand description
The kDate
key: an AWS secret key, prefixed with “AWS4”, then HMAC-SHA256 hashed with the date.
Implementations§
source§impl KDateKey
impl KDateKey
sourcepub fn to_kregion(&self, region: &str) -> KRegionKey
pub fn to_kregion(&self, region: &str) -> KRegionKey
Create a new KRegionKey
from this KDateKey
and a region.
sourcepub fn to_kservice(&self, region: &str, service: &str) -> KServiceKey
pub fn to_kservice(&self, region: &str, service: &str) -> KServiceKey
Create a new KServiceKey
from this KDateKey
, a region, and a service.
sourcepub fn to_ksigning(&self, region: &str, service: &str) -> KSigningKey
pub fn to_ksigning(&self, region: &str, service: &str) -> KSigningKey
Create a new KSigningKey
from this KDateKey
, a region, and a service.