Switch to AWS v4 signatures #5
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/aws_v4_signatures"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes #3
Looks all good to me 👍
@ -3,3 +2,3 @@
WORKDIR /liquorcabinet
ENV RACK_ENV=staging
ENV RACK_ENV=production
Is this change intentional?
Yes, I think default should be production.
@ -89,3 +78,1 @@
def hmac(key, value)
OpenSSL::HMAC.digest(OpenSSL::Digest.new('sha1'), key, value)
def auth_headers_for(http_method, url, headers, data = nil)
The
headers
param could be made optional as well, then you wouldn't need to add an empty hash for the calls indo_head_request
anddo_delete_request
.