We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http://docs.openstack.org/api/openstack-object-storage/1.0/content/tempurl.html
The text was updated successfully, but these errors were encountered:
doing this now:
expires = Time.now.utc.to_i + (60 * 60) # 1 hour account = ENV.fetch 'SOFTLAYER_OS_ACCOUNT' path = "/v1/#{account}/#{container}/#{file}" hmac_body = ['GET', expires, path].join("\n") key = ENV.fetch 'SOFTLAYER_OS_TEMP_URL_KEY' sig = Digest::HMAC.hexdigest(hmac_body, key, Digest::SHA1) "https://#{region}.objectstorage.softlayer.net#{path}?temp_url_sig=#{sig}&temp_url_expires=#{expires}"
Sorry, something went wrong.
@carlhoerberg have you checked out fog-softlayer ?
It has support for temp urls, check the examples for documentation.
I did pull request for it. (#10)
No branches or pull requests
http://docs.openstack.org/api/openstack-object-storage/1.0/content/tempurl.html
The text was updated successfully, but these errors were encountered: