| Module | Mixlib::Authentication::SignedHeaderAuth |
| In: |
lib/mixlib/authentication/signedheaderauth.rb
|
| NULL_ARG | = | Object.new |
| SUPPORTED_ALGORITHMS | = | ['sha1'].freeze |
| SUPPORTED_VERSIONS | = | ['1.0', '1.1'].freeze |
| DEFAULT_SIGN_ALGORITHM | = | 'sha1'.freeze |
| DEFAULT_PROTO_VERSION | = | '1.0'.freeze |
This is the intended interface for signing requests with the Opscode/Chef signed header protocol. This wraps the constructor for a Struct that contains the relevant information about your request.
These parameters are used to generate the canonical representation of the request, which is then hashed and encrypted to generate the request‘s signature. These options are all required, with the exception of `:body` and `:file`, which are alternate ways to specify the request body (you must specify one of these).
These parameters are accepted but not used in the computation of the signature.