docs/reference/specs/bindings/s3.md

682 B

AWS S3 Binding Spec

apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: <name>
spec:
  type: bindings.aws.s3
  metadata:
  - name: region
    value: us-west-2
  - name: accessKey
    value: *****************
  - name: secretKey
    value: *****************
  - name: bucket
    value: mybucket
  • region is the AWS region.
  • accessKey is the AWS access key.
  • secretKey is the AWS secret key.
  • table is the name of the S3 bucket to write to.

Note: In production never place passwords or secrets within Dapr components. For information on securly storing and retrieving secrets refer to Setup Secret Store