Coder Social home page Coder Social logo

Comments (5)

alexpy11 avatar alexpy11 commented on June 15, 2024

@natashadsilva documentation and samples are still work in progress.
The following picture explains mapping of object storage service credentials on an object storage operator credentials.
operatorcredentials

from streamsx.objectstorage.

markheger avatar markheger commented on June 15, 2024

IAM support for authentication will be available in an upcoming toolkit version. It is currently on iss#9-stocator-based-impl branch.

from streamsx.objectstorage.

natashadsilva avatar natashadsilva commented on June 15, 2024

Thanks. So the master branch currently does not support it?
The samples refere to ObjectStorage-AccessKeyID", ObjectStorage-SecretAccessKey and ObjectStorage-Endpoint. There is no AccesskeyId or AccessKey in the credentials. I checked the samples in the 9-stocator-based-impl branch and they are the same names. Accesskey and AccessKeyid are not in the IAM credentials. Will the samples be updated to match the names in the credentials map?

from streamsx.objectstorage.

markheger avatar markheger commented on June 15, 2024

Yes, the master branch does not support it, because the toolkit has been developed and released long time before IBM COS introduced IAM.
Samples are still valid for S3 object storages, where the user has the accesskey and secretaccesskey.
There is a new sample for IAM credentials available.
IBM COS S3 supports both authentication methods, but it seems that not every user has the chance to get the accesskey and secretaccesskey credentials. It depends when and how the IBM COS S3 service has been created.

from streamsx.objectstorage.

alexpy11 avatar alexpy11 commented on June 15, 2024

@natashadsilva the following sample on iss#9-stocator-based-impl branch provides Scan, Source and Sink examples with IAM-based authentication: https://github.com/IBMStreams/streamsx.objectstorage/blob/iss%239-stocator-based-impl/samples/com.ibm.streamsx.objectstorage.sample/com.ibm.streamsx.objectstorage.sample/S3DownloadIAMAuthSample.spl

from streamsx.objectstorage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.