Alibaba Cloud Object Storage Service binding spec
To setup an Alibaba Cloud Object Storage binding create a component of type . See on how to create and apply a secretstore configuration. See this guide on referencing secrets to retrieve and use the secret with Dapr components.
Warning
The above example uses secrets as plain strings. It is recommended to use a secret store for the secrets as described here.
create
:
To perform a create object operation, invoke the binding with a POST
method and the following JSON body:
{
"data": "YOUR_CONTENT"
}
Note
By default, a random UUID is auto-generated as the object key. See below for Metadata support to set the key for the object.
Example
curl -d '{ "operation": "create", "data": "Hello World" }' http://localhost:<dapr-port>/v1.0/bindings/<binding-name>
Saving to a specific file
Note
Windows CMD requires escaping the "
character.