Thefathacker (talk | contribs) No edit summary |
Thefathacker (talk | contribs) No edit summary |
||
Line 34: | Line 34: | ||
</pre> | </pre> | ||
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 | 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. | ||
<strong>IMPORTANT NOTE:</strong> Please note there is only one EC2 credential per user tenant, <strong>re-creating this credential will replace the credential and any services using this credential being lost.</strong> |
Latest revision as of 01:30, 6 May 2024
Linux
- 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 | +------------+-------------------------------------------------------------------------------------------------------------------------------------------+
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.
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.