Skip to main content
Version: 2.1

Create Access/Secret for Object Store API access

Connect the host#

$ ssh admin@IPADDRESS

Create bucket#

sky-8:bucket> createSelect a user:1: adminEnter index: 1Input bucket path: admin_publicBucket 's3://admin_public/' created

Create access & secret key#

sky-8:s3> ec2_key_createSelect a user:1: adminEnter 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_listSelect a user:1: adminEnter 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.txt2019-12-04 06:51         0   s3://admin_public/testfile.txt

CLI

sky-8:object> putSelect a user:1: adminEnter index: 1Select a media:1: usb2: localEnter index: 1Insert a USB drive into the USB port on the appliance.Enter 'YES' to confirm: YES1: public_files1.txt2: public_files2.txtEnter index: 2Input object path: admin_publicupload: '/mnt/usb/public_files2.txt' -> 's3://admin_public/public_files2.txt'  [1 of 1] 17 of 17   100% in    0s   314.40 B/s  doneUploading object to admin_public3 complete. It is safe to remove the USBdrive.

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

Last updated on by Roy Tan