Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 853 Bytes

twilio.md

File metadata and controls

31 lines (26 loc) · 853 Bytes

Twilio SMS Binding Spec

apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: <NAME>
  namespace: <NAMESPACE>
spec:
  type: bindings.twilio.sms
  metadata:
  - name: toNumber # required.
    value: 111-111-1111
  - name: fromNumber # required.
    value: 222-222-2222
  - name: accountSid # required.
    value: *****************
  - name: authToken # required.
    value: *****************
  • toNumber is the target number to send the sms to.
  • fromNumber is the sender phone number.
  • accountSid is the Twilio account SID.
  • authToken is the Twilio auth token.

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

Output Binding Supported Operations

  • create