Here is the code with wich I am trying to access the swift server:
import swiftclient
user = 'swift'
key = 'password'
conn = swiftclient.client.Connection(
authurl='http://0.0.0.0:5000/v2.0',
user=user,
key=key,
tenant_name = 'service',
auth_version = '2.0',
#os_options={'tenant_id':}
)
container_name = 'my-new-container'
conn.put_container(container_name)
with open('hello.txt', 'r') as hello_file:
conn.put_object(container_name, 'hello.txt',
contents= hello_file.read(),
content_type='text/plain')
I am currently trying to set up a test enviroment to fiddle a bit. I followed the mentioned tutorials word for word and left everything to default.
Here is my console screenshot:
Sorry for my complete ignorance, but I am both a linux and python noob.