mirror of https://github.com/dapr/docs.git
27 lines
802 B
Markdown
27 lines
802 B
Markdown
# Twilio SMS Binding Spec
|
|
|
|
```yaml
|
|
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](../../../howto/setup-secret-store) |