pub fn parse_token_from_header(header: &str) -> IResult<&str, &str>Expand description
Extract the AWS access key ID from an Authorization header value.
Expects the standard AWS4-HMAC-SHA256 Credential=<ACCESS_KEY>/… format.
Returns the access key as a borrowed slice of the input.
§Errors
Returns a nom parse error if the header does not start with the expected prefix.