forked from aliyun/ros-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
saml-provider.yml
62 lines (62 loc) · 2.12 KB
/
saml-provider.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
ROSTemplateFormatVersion: '2015-09-01'
Description:
zh-cn: 创建SAML身份提供商,支持元数据文档URL或直接文档内容,含名称、描述,输出提供商名与ARN。
en: Create a SAML Identity Provider, supporting Metadata Document URL or direct
document content, including name and description, with the output comprising the
provider name and ARN.
Parameters:
SAMLProviderName:
Type: String
Description: 'IdP Name. The IdP name can contain a maximum of 128 characters and
only letters, numbers, and the following special characters are accepted: hyphens
(-), periods (.), and underscores (_). It cannot start or end with a special
character.'
MinLength: 1
MaxLength: 128
Description:
Type: String
Description: The description can contain a maximum of 256 characters.
Default: null
MaxLength: 256
SAMLMetadataDocumentURL:
Type: String
Description: 'The URL for the file that contains the SAML metadata document. The
URL must point to a document located in an HTTP or HTTPS web server or an Alibaba
Cloud OSS bucket. Examples: oss://ros/document/demo and oss://ros/document/demo?RegionId=cn-hangzhou.
The URL can be up to 1,024 bytes in length.'
Default: null
MinLength: 1
MaxLength: 1024
SAMLMetadataDocument:
Type: String
Description: SAML metadata document. The content must be 1 to 102,400 bytes in
length.You must specify one of the SAMLMetadataDocument and SAMLMetadataDocumentURL
properties, but you cannot specify both of them.
Default: null
MinLength: 1
MaxLength: 102400
Resources:
SAMLProvider:
Type: ALIYUN::RAM::SAMLProvider
Properties:
SAMLProviderName:
Ref: SAMLProviderName
Description:
Ref: Description
SAMLMetadataDocumentURL:
Ref: SAMLMetadataDocumentURL
SAMLMetadataDocument:
Ref: SAMLMetadataDocument
Outputs:
SAMLProviderName:
Description: IdP Name.
Value:
Fn::GetAtt:
- SAMLProvider
- SAMLProviderName
Arn:
Description: ARN.
Value:
Fn::GetAtt:
- SAMLProvider
- Arn