mirror of https://github.com/dapr/docs.git
802 B
802 B
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: *****************
toNumberis the target number to send the sms to.fromNumberis the sender phone number.accountSidis the Twilio account SID.authTokenis 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