ALIYUN::CloudSSO::SCIMServerCredential类型用于创建SCIM密钥。
语法
{
"Type": "ALIYUN::CloudSSO::SCIMServerCredential",
"Properties": {
"Status": String,
"DirectoryId": String
}
}
属性
属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 |
Status | String | 否 | 是 | SCIM密钥状态。 | 取值:
|
DirectoryId | String | 是 | 否 | 目录ID。 | 无 |
返回值
Fn::GetAtt
CredentialId:SCIM密钥ID。
CredentialSecret:SCIM密钥。
示例
YAML
格式ROSTemplateFormatVersion: '2015-09-01' Parameters: DirectoryId: Description: en: The ID of the directory. Required: true Type: String Status: AllowedValues: - Enabled - Disabled Default: Enabled Description: en: 'The new status of the SCIM credential. Valid values: - Enabled: The SCIM credential is enabled. - Disabled: The SCIM credential is disabled. The default value is Enabled.' Required: false Type: String Resources: ScimServerCredential: Properties: DirectoryId: Ref: DirectoryId Status: Ref: Status Type: ALIYUN::CloudSSO::SCIMServerCredential Outputs: CredentialId: Description: The ID of the SCIM credential. Value: Fn::GetAtt: - ScimServerCredential - CredentialId CredentialSecret: Description: The secret of the SCIM credential. Value: Fn::GetAtt: - ScimServerCredential - CredentialSecret
JSON
格式{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { "Status": { "Type": "String", "Description": { "en": "The new status of the SCIM credential. Valid values:\n- Enabled: The SCIM credential is enabled.\n- Disabled: The SCIM credential is disabled.\nThe default value is Enabled." }, "AllowedValues": [ "Enabled", "Disabled" ], "Required": false, "Default": "Enabled" }, "DirectoryId": { "Type": "String", "Description": { "en": "The ID of the directory." }, "Required": true } }, "Resources": { "ScimServerCredential": { "Type": "ALIYUN::CloudSSO::SCIMServerCredential", "Properties": { "Status": { "Ref": "Status" }, "DirectoryId": { "Ref": "DirectoryId" } } } }, "Outputs": { "CredentialId": { "Description": "The ID of the SCIM credential.", "Value": { "Fn::GetAtt": [ "ScimServerCredential", "CredentialId" ] } }, "CredentialSecret": { "Description": "The secret of the SCIM credential.", "Value": { "Fn::GetAtt": [ "ScimServerCredential", "CredentialSecret" ] } } } }
反馈
- 本页导读 (1)
文档反馈