First thing to do is to install awscli and awscli-plugin-endpoint (e.g.: pip install awscli && pip install awscli-plugin-endpoint).
Then you need to create Openstack EC2 credentials (or get them created) for your user and project with the following command:
...