If you use Chocolatey: choco install python3 git.install
With python & python-pip installed, in a new PowerShell or CMD Terminal pip install python-openstackclient
Importing Openstack Environmental Varibles
Download your OpenStack Environmental Variables file (OpenStack RC File), do this by logging into your Openstack Dashboard, navigating to the top right corner user icon/label and download your OpenStack RC File
Open your preferred bash shell (or Git Bash on Windows) and nativate to where ever the download OpenStack RC File. Example:
cd ~/Downloads
to navigate to your Downloads File
Use the downloaded Openstack RC file for Source Data by using the source command, example:
source 3a5c8-default-openrc.sh
you will then be asked for your openstack password
Test your credentials now work run
openstack image list
which will query the available server images in ZWS
Credential Management
Generate New Credential
Use the following command to generate a new credential
The important value which will be unrecoverable after this point will be the secret. Also take note of the access as this will also be required for provisioning services with the S3 compatible API.
Get Existing Credentials
Use the following command to get your existing Credentails
openstack ec2 credentials list
IMPORTANT NOTE: Please note there is only one EC2 credential per user tenant, re-creating this credential will replace the credential and any services using this credential being lost.