Cloud:Storage:CreateCredentials

From ZeroOne Tech Public Wiki

Linux

  1. Ubuntu 24.04
apt install python3-openstackclient

// ADD SCREENSHOT HERE FOR RC FILE https://cloud.zeroone.tech/project/api_access/openrc/

source default-openrc.sh 
Please enter your OpenStack Password for project docs as user [Openstack User]:

You can now use the following command

openstack ec2 credentials create

Which will give you output similar too:

+------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| Field      | Value                                                                                                                                     |
+------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| access     | abababababababababababababababab                                                                                                          |
| links      | {'self': 'https://cloud.zeroone.tech:5000/v3/users/dededededededededededededededede/credentials/OS-EC2/abababababababababababababababab'} |
| project_id | bcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbc                                                                                                          |
| secret     | cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd                                                                                                          |
| trust_id   | None                                                                                                                                      |
| user_id    | dededededededededededededededede                                                                                                          |
+------------+-------------------------------------------------------------------------------------------------------------------------------------------+

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