How to generate ec2 credentials?

Before you attempt to perform the CLI operations, please assure that the necessary dependencies have been installed:

 

EC2 are being used in getting access to the private bucket.
Users are able to generate ec2 credentials on their own by following those steps:

 

Log in to the Horizon Panel and click on the API Access in the Project branch.

 

 

Click on the Download Openstack RC File:

 

 

Choose the latest version 3 (Identity API v3):

 

 

Save your file on the hard disk and open your Terminal.

Type in commands presented below.

Virtual environment called "openstack" has been created for the FAQ purposes and consists of python-openstackclient packages.

user@station:~$ workon openstack
(openstack) user@station:~$ source cloud_02722\ project_with_eo-openrc.sh
Please enter your OpenStack Password for project cloud_02722 project_with_eo as user john.doe@cloudferro.com:
(openstack) user@station:~$ openstack ec2 credentials create

 

Output:

+------------+-------------------------------------+
| Field      | Value                               |
+------------+-------------------------------------+
+--------------------------------------------------+
| access     | [access key]                        |
| links      | [link]                              |
| project_id | db39778a89b242f0a8ba818eaf4f3329    |
| secret     | [secret key]                        |
| trust_id   | None                                |
| user_id    | 121fa8dadf084e2fba46b00850aeb7aa    |
+------------+-------------------------------------+

 

Save access and secret key value.

In the case of failure, you may grant access to your credential record by typing in command:

 

(openstack) user@station:~$ openstack ec2 credentials list

+----------------------------------+----------------------------------+
| Access                           | Secret                           |
+----------------------------------+----------------------------------+
| [access key]                     | [secret key]                     |
+----------------------------------+----------------------------------+