> ## Documentation Index
> Fetch the complete documentation index at: https://doc.lwops.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# 阿里云短信申请与配置

## 一，申请短信签名及模板

### 1，添加短信签名

> [!TIP]
>
> [点击跳转阿里云短信服务控制台](https://dysms.console.aliyun.com/domestic/text/sign)

点击添加签名

![Aliyunduanx111701](https://mintcdn.com/lerwee/6D2mETIRduztLRhu/images/aliyunduanx111701.png?fit=max\&auto=format\&n=6D2mETIRduztLRhu\&q=85\&s=4f68da02cc2706b7a5252817250ede10)

按钮填写自定义签名、补充其他字段信息

![Aliyunqinm](https://mintcdn.com/lerwee/6D2mETIRduztLRhu/images/aliyunqinm.png?fit=max\&auto=format\&n=6D2mETIRduztLRhu\&q=85\&s=a722123d937bdebf04a0cb31a9c65a10)

### 2，添加短信模板

> [!TIP]
>
> [点击跳转添加阿里云短信模板](https://dysms.console.aliyun.com/domestic/text/template)

点击添加模板按钮

![Aliyunduanx111702 1](https://mintcdn.com/lerwee/6D2mETIRduztLRhu/images/aliyunduanx111702-1.png?fit=max\&auto=format\&n=6D2mETIRduztLRhu\&q=85\&s=9d8101c4d17b0a9749210e4d78e23d54)

选择模板类型为短信通知、填写其他字段

![Aliyunduanx111703](https://mintcdn.com/lerwee/6D2mETIRduztLRhu/images/aliyunduanx111703.png?fit=max\&auto=format\&n=6D2mETIRduztLRhu\&q=85\&s=d25a88ef7903bd86e6b5517d0d4d3e1e)

```text theme={null}
模板内容： 
告警通知：${EVENTCONTENT} 

申请说明： 
IT监控平台，需对接阿里云短信推送。当监控平台发生告警时，主动调用阿里云短信接口进行告警推送
至负责人
```

## 二，乐维平台添加阿里云短信媒介

登录乐维平台，点击系统管理 --> 通知媒介 --> 短信设置 --> 选择短信平台下拉框 --> 选择阿里云

![Aliyunduanx111704](https://mintcdn.com/lerwee/6D2mETIRduztLRhu/images/aliyunduanx111704.png?fit=max\&auto=format\&n=6D2mETIRduztLRhu\&q=85\&s=b80150e0412f09ef014c974f82a953f0)

获取短信服务平台相应字段信息填入：

1、应用 id

> [!TIP]
>
> [AccessKey定义及为阿里云账号或RAM用户的创建方法](https://help.aliyun.com/zh/document_detail/53045.html?spm=%27a2c4g.11186623.0.0.29f254451d0bA0#task-354412')

对应链接手册中的 AccessKey ID

2、应用密钥

> [!TIP]
>
> [AccessKey定义及为阿里云账号或RAM用户的创建方法](https://help.aliyun.com/zh/document_detail/53045.html?spm=%27a2c4g.11186623.0.0.29f254451d0bA0#task-354412')

对应链接手册中的 AccessKey Secret

3、短信模板

> [!TIP]
>
> [短信服务控制台-模板管理](https://dysms.console.aliyun.com/domestic/text/template)

![Aliyunduanx111705](https://mintcdn.com/lerwee/6D2mETIRduztLRhu/images/aliyunduanx111705.png?fit=max\&auto=format\&n=6D2mETIRduztLRhu\&q=85\&s=96e0deaa323bfd59aac22042415e7a06)

对应链接界面中，已申请通过的模板 CODE

一般格式为“SMS\*”

4、短信签名

> [!TIP]
>
> [短信服务控制台-签名管理](https://dysms.console.aliyun.com/domestic/text/sign)

对应链接界面中，已申请通过的签名名称

![Aliyunduanx111706](https://mintcdn.com/lerwee/6D2mETIRduztLRhu/images/aliyunduanx111706.png?fit=max\&auto=format\&n=6D2mETIRduztLRhu\&q=85\&s=99b4c8981968d234eba2f95bf911d62a)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.