forked from aliyun/ros-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
certificate.yml
35 lines (35 loc) · 984 Bytes
/
certificate.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
ROSTemplateFormatVersion: '2015-09-01'
Description:
zh-cn: 创建自定义命名的CAS证书,通过PEM格式的证书内容和私钥,输出证书ID。
en: Create a custom-named CAS certificate by providing the certificate content and
private key in PEM format, and output the certificate ID.
Parameters:
Name:
Type: String
Description: Custom certificate name. The certificate name under a user cannot
be duplicated.
Default: mytest
Cert:
Type: String
Description: Specify the content of the certificate. To use the PEM encoding format.
Key:
Type: String
Description: Specify the certificate private key content. To use the PEM encoding
format.
Resources:
Certificate:
Type: ALIYUN::CAS::Certificate
Properties:
Cert:
Ref: Cert
Name:
Ref: Name
Key:
Ref: Key
Outputs:
CertId:
Description: Certificate ID.
Value:
Fn::GetAtt:
- Certificate
- CertId