pub fn signing_key(
datetime: &DateTime<Utc>,
secret_key: &str,
region: &str,
service: &str,
) -> Result<Vec<u8>, String>Expand description
Derive (or return a cached copy of) the SigV4 signing key.
Computes HMAC(HMAC(HMAC(HMAC("AWS4" + secret, date), region), service), "aws4_request")
and stores the result in the process-wide SIGNING_KEY_CACHE. The cache
entry is valid for the entire UTC calendar day; stale entries from previous
days are evicted lazily on the first miss of the new day.