Thefathacker (talk | contribs) (→Linux) |
Thefathacker (talk | contribs) No edit summary |
||
Line 13: | Line 13: | ||
source default-openrc.sh | source default-openrc.sh | ||
Please enter your OpenStack Password for project docs as user [Openstack User]: | Please enter your OpenStack Password for project docs as user [Openstack User]: | ||
</pre> | |||
You can now use the following command | |||
<pre> | |||
openstack ec2 credentials create | |||
</pre> | |||
Which will give you output similar too: | |||
<pre> | |||
+------------+-------------------------------------------------------------------------------------------------------------------------------------------+ | |||
| 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 | | |||
+------------+-------------------------------------------------------------------------------------------------------------------------------------------+ | |||
</pre> | </pre> |
Revision as of 01:24, 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 | +------------+-------------------------------------------------------------------------------------------------------------------------------------------+