sign_request function

Signs a request to the storage REST endpoint with a shared key

Signs a request to the storage REST endpoint with a shared key

sign_request(endpoint, ...)

Arguments

  • endpoint: An endpoint object.
  • ...: Further arguments to pass to individual methods.

Returns

A named list of request headers. One of these should be the Authorization header containing the request signature.

Details

This is a generic method to allow for variations in how the different storage services handle key authorisation. The default method works with blob, file and ADLSgen2 storage.

  • Maintainer: Hong Ooi
  • License: MIT + file LICENSE
  • Last published: 2022-05-25