In the following steps, a user named UserA is the owner of container TestStorage in project ProjX, while UserB is the new user which will only have read-only access to the same container.
Create the new UserB API user in https://admin.citycloud.com/users/openstack and download its RC-file by pressing on the meatball-icon on the right of your user.
If you would like to make sure that UserB has no other access to Openstack, create a new project and create the user in this new project.
In a terminal window, where you have access to the Openstack CLI, source the RC-file as follows:
Create EC2 credentials for UserB.
Take note of the Access Key and Secret Key.
Now, download the RC-file from https://admin.citycloud.com/users/openstack for UserA - the user that owns the container - and source it:
Modify the TestStorage container's Access Control List (ACL) by making it publicly readable and also listable:
The container and its contents are now read-only accessible for anyone that has access to the container! Verify this information by running the following command: