• United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.206

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Access bucket cross location with single endpoint

310002R00S gravatar image
Question by Pranab Bhatta  (1) | Nov 16, 2018 at 04:59 AM restapiobjectstorageobject storage

Hi All,

I have created bucket across multiple localtion as below.

Bucket name Region Endpoint
abc us- south s3.us-south.objectstorage.softlayer.net
pqr us-geo s3-api.us-geo.objectstorage.softlayer.net

I have created a service credentials. Associated both the buckets with the service credentials. I am able to access the bucket and its object using the respective endpoint and same service credentials. But in my code, we have exposed endpoint, access_key_id, secret_access_key, region as an input parameter for the end user, but using the given input I am unable to get the bucket details and objects for different endpoints. For example, if the endpoint is "s3.us-south.objectstorage.softlayer.net", then I cannot get buckets and it objects from other endpoint.

So, is there a way by which I can get bucket and object details from other endpoint? Also, do we have an API which return bucket and its endpoint?

Awaiting response.

Thanks, Pranab Bhatta

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

1 reply

  • Sort: 
310002MNKH gravatar image

Answer by NiallMcShane (41) | Nov 16, 2018 at 10:52 AM

You can perform an account listing against any endpoint to get a list of containers associated with that account but in order to interact with a specific container you must use the endpoint where that container resides.

There is no API today to return the container location but we are working on providing such an API.

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

150 people are following this question.

Answers

Answers & comments

Related questions

IBM Object Store getting HTTP 504 on Create/Delete for Bucket 0 Answers

How to make complex search with Object Storage Search API? 0 Answers

IBM Cloud Storage limits for request rates, buckets, and encryption 1 Answer

Is there some sort of rate-limit set for IBM Cloud Object Storage ? 0 Answers

How can I use the Object Storage "get" node on Node-Red? 0 Answers

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • DataPower
  • Decision Optimization
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges