Skip to main content
Version: 2.5

Create Access/Secret for Object Store API access

Connect the host

$ ssh admin@IPADDRESS

Create bucket

sky-8:bucket> create
Select a user:
1: admin
Enter index: 1
Input bucket path: admin_public
Bucket 's3://admin_public/' created

Create access & secret key

sky-8:s3> ec2_key_create
Select a user:
1: admin
Enter index: 1
+------------+----------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+------------+----------------------------------------------------------------------------------------------------------------------------------------+
| access | 74642e0bec4c4ddbba00f42132d8db9e |
| links | {u'self': u'http://192.168.1.204:35357/v3/users/0692bae8ce7b434b8ff0bc084fdd2ce3/credentials/OS-EC2/74642e0bec4c4ddbba00f42132d8db9e'} |
| project_id | 342aab568a354745bef95bf49fd9a3d5 |
| secret | 44e995f831864a7bbaa32b1da34f9e31 |
| trust_id | None |
| user_id | 0692bae8ce7b434b8ff0bc084fdd2ce3 |
+------------+----------------------------------------------------------------------------------------------------------------------------------------+
sky-8:s3> ec2_key_list
Select a user:
1: admin
Enter index: 1
+----------------------------------+----------------------------------+
| Access | Secret |
+----------------------------------+----------------------------------+
| 74642e0bec4c4ddbba00f42132d8db9e | 44e995f831864a7bbaa32b1da34f9e31 |
+----------------------------------+----------------------------------+

Test Result:

s3cmd

$ s3cmd --no-ssl --host=http://192.168.1.204:8888 --host-bucket=192.168.1.204 --access_key=74642e0bec4c4ddbba00f42132d8db9e --secret_key=44e995f831864a7bbaa32b1da34f9e31 la

2019-12-04 06:24 17 s3://admin_public/public_files2.txt
2019-12-04 06:51 0 s3://admin_public/testfile.txt

CLI

sky-8:object> put
Select a user:
1: admin
Enter index: 1
Select a media:
1: usb
2: local
Enter index: 1
Insert a USB drive into the USB port on the appliance.
Enter 'YES' to confirm: YES
1: public_files1.txt
2: public_files2.txt
Enter index: 2
Input object path: admin_public
upload: '/mnt/usb/public_files2.txt' -> 's3://admin_public/public_files2.txt' [1 of 1]
17 of 17 100% in 0s 314.40 B/s done
Uploading object to admin_public3 complete. It is safe to remove the USB
drive.

Microsoft Windows - s3 browser

Download : https://s3browser.com/

/assets/s3/s3-endpoint.png

/assets/s3/s3-endpoint-list_files.png

MacOS - Dragon disk

Download : http://www.s3-client.com/download-s3-compatible-cloud-client.html

/assets/s3/Screen_Shot_2019-12-04_at_3.01.10_PM.png