object-storage

how external app can access ibm cloud object storage

柔情痞子 提交于 2019-12-11 14:43:47
问题 I have IBM COS service and able to use Curl command via cli to retrieve objects. I used IAM tokens to retrieve. But how do I let an external web app ex., node access this service? what value should be there in authorization for external app access? 回答1: External apps will come in the form of something like the AWS CLI or any other app that uses either an HTTP library coupled with IBM Cloud Object Storage API or even an SDK for languages like Python, Java or Node.Js All of the above will ask

How to authenticate to Bluemix S3 Lite?

妖精的绣舞 提交于 2019-12-11 10:15:41
问题 I'm trying to use S3 API with Bluemix object storage using the following code: import boto3, pprint, sys; s3 = boto3.Session().client( service_name="s3", region_name="us-geo", endpoint_url="https://s3-api.us-geo.objectstorage.softlayer.net", aws_access_key_id="auto-generated-apikey-<redacted>", aws_secret_access_key="<redacted>"); pprint.pprint(s3.list_buckets()); but keep getting AccessDenied error: <Error> <Code>AccessDenied</Code> <Message>Access Denied</Message> <Resource></Resource>

TYPO3 Extbase how to empty ObjectStorage

偶尔善良 提交于 2019-12-04 05:51:06
问题 I want to "empty" an ObjectStorage when updating a Object: It's TYPO3 4.6 with a Extbase Extension which allows you to show/add/edit/delete datasets in the frontend. At first sight everything looks good. I have one field referencing another table: TCA: 'partner' => array( 'exclude' => 0, 'label' => 'LLL:EXT:toco3_marketingdb/Resources/Private/Language/locallang_db.xlf:tx_toco3marketingdb_domain_model_firma.partner', 'config' => array( 'type' => 'select', 'size' => 5, 'foreign_table' => 'tx

TYPO3 Extbase how to empty ObjectStorage

此生再无相见时 提交于 2019-12-02 07:36:55
I want to "empty" an ObjectStorage when updating a Object: It's TYPO3 4.6 with a Extbase Extension which allows you to show/add/edit/delete datasets in the frontend. At first sight everything looks good. I have one field referencing another table: TCA: 'partner' => array( 'exclude' => 0, 'label' => 'LLL:EXT:toco3_marketingdb/Resources/Private/Language/locallang_db.xlf:tx_toco3marketingdb_domain_model_firma.partner', 'config' => array( 'type' => 'select', 'size' => 5, 'foreign_table' => 'tx_toco3marketingdb_domain_model_partner', 'foreign_table_where' => 'ORDER BY tx_toco3marketingdb_domain

Unauthorized error while connecting Object Storage from API from Postman

你离开我真会死。 提交于 2019-12-02 05:48:54
问题 I am trying to get object storage container details using provided API in post man But I am getting Unauthorized error, API information available at http://developer.openstack.org/api-ref/object-storage/index.html?expanded=get-object-content-and-metadata-detail,show-account-details-and-list-containers-detail#accounts Following details I am set in PostMan, Method Get Url: https://{domain}.objectstorage.softlayer.net/auth/v1.0/{userid}?format=json Header: Key: X-Auth-Token Value: {token} Error

Object storage for a web application

你离开我真会死。 提交于 2019-12-01 18:59:56
I am currently working on a website where, roughly 40 million documents and images should be served to it's users. I need suggestions on which method is the most suitable for storing content with subject to these requirements. System should be highly available, scale-able and durable. Files have to be stored permanently and users should be able to modify them. Due to client restrictions, 3rd party object storage providers such as Amazon S3 and CDNs are not suitable. File size of content can vary from 1 MB to 30 MB. (However about 90% of the files would be less than 2 MB) Content retrieval

Public URLs For Objects In Bluemix Object Storage Service

主宰稳场 提交于 2019-11-26 23:17:40
问题 I would like to upload a number of photos to the Bluemix Object Storage service and then display them in a web app. Right now a GET request to the photo in the object storage container requires and auth token. Is there any way I can create a public URL to the object that would not require an auth token for a GET request? I see there is an option of creating temporary URLs to objects but I don't want the URL to be temporary I want it to live forever. Is the only option to create a long lived