Each Loader with Separate Authentication Information
If you don’t need to reuse OBS connections between different loaders, you can directly configure theconfig
. The loader will use the config information to initialize its own OBS client.
Get Authentication Information from ECS
If your langchain is deployed on Huawei Cloud ECS and Agency is set up, the loader can directly get the security token from ECS without needing access key and secret key.Access a Publicly Accessible Object
If the object you want to access allows anonymous user access (anonymous users haveGetObject
permission), you can directly load the object without configuring the config
parameter.