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:

  1. {
  2. "data": "YOUR_CONTENT"
  3. }

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

  1. 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.

Object key