tempurl with swift kilo using keystone
Hello
I am having trouble with tempurl on a working proxy. I am able to upload and download files via the python api. However I need to use tempurl for my solution.
For testing purposes, I have created the tempurl via
swift post -m "Temp-URL-Key:tempkey"
swift-temp-url GET 3600 '/v1/AUTH_demo/demo-container1/test_file.txt' tempkey
which returns the proper information.
/v1/AUTH_demo/demo-container1/test_file.txt?temp_url_sig=66eec029e2e266725a06b76956644311261558c8&temp_url_expires=1441553829
However if copy and paste the url into a browser it returns
401 Unauthorized: Temp URL invalid
I have setup PyCharm and started remote debugging the code. It appears that the temp-url-key is not being retrieved from my environment. In fact, the get_account_info call in __get_keys does not return any metadata in the info dict. However swift stat shows the following:
Meta Temp-Url-Key: tempkey
Attached is a link to a screen shot of my PyCharm debug session.
https://drive.google.com/file/d/0B0-LajfPyP7IRWRzOW5sdUdOR2s/view?usp=sharing https://drive.google.com/file/d/0B0-LajfPyP7IbXUzYTJNWnlXQjQ/view?usp=sharing
Any suggestions?
Thanks Greg