Creates an encryption parameter.
Syntax
{
"Type": "ALIYUN::OOS::SecretParameter",
"Properties": {
"Description": String,
"Constraints": Map,
"ResourceGroupId": String,
"SecretParameterName": String,
"Value": String,
"KeyId": String,
"Tags": List
}
}
Properties
|
Property |
Type |
Required |
Editable |
Description |
Constraint |
|
Description |
String |
No |
Yes |
The description of the parameter. |
The description can be up to 200 characters in length. |
|
Constraints |
Map |
No |
No |
The constraints of the parameter. |
Valid values:
|
|
ResourceGroupId |
String |
No |
Yes |
The ID of the resource group to which the parameter belongs. |
None. |
|
SecretParameterName |
String |
Yes |
No |
The name of the parameter. |
The name can be up to 180 characters in length, and can contain letters, digits, hyphens (-), and underscores (_). The name cannot start with |
|
Value |
String |
Yes |
Yes |
The value of the parameter. |
The value can be up to 4,096 characters in length. |
|
KeyId |
String |
No |
No |
The ID of the Key Management Service (KMS) key used to encrypt the parameter. |
None. |
|
Tags |
List |
No |
Yes |
The tags of the parameter. |
You can add up to 20 tags. For more information, see Tags properties. |
Tags syntax
"Tags": [
{
"Value": String,
"Key": String
}
]
Tags properties
|
Property |
Type |
Required |
Editable |
Description |
Constraint |
|
Value |
String |
No |
No |
The value of the tag. |
The tag value can be up to 128 characters in length, and cannot contain |
|
Key |
String |
Yes |
No |
The key of the tag. |
The tag key must be 1 to 128 characters in length, and cannot contain |
Return values
Fn::GetAtt
-
Description: the description of the parameter.
-
CreatedBy: the user who created the parameter.
-
ResourceGroupId: the ID of the resource group to which the parameter belongs.
-
SecretParameterName: the name of the parameter.
-
UpdatedDate: the time when the parameter was updated.
-
CreateTime: the time when the parameter was created.
-
KeyId: the ID of the KMS key that is used to encrypt the parameter.
-
SecretParameterId: the ID of the parameter.
-
UpdatedBy: the user who updated the parameter.
-
Type: the type of the parameter.
-
Constraint: the constraints of the parameter.
-
ParameterVersion: the version of the parameter.
-
Tags: the tags of the parameter.
-
ShareType: the share type of the parameter.