Cria um alias para uma chave mestra de cliente (CMK) no Key Management Service (KMS).
Sintaxe
{
"Type": "ALIYUN::KMS::Alias",
"Properties": {
"KeyId": String,
"AliasName": String
}
}
Propriedades
|
Nome da propriedade |
Tipo |
Obrigatória |
Atualização permitida |
Descrição |
Restrições |
|
KeyId |
String |
Sim |
Não |
ID globalmente exclusivo da CMK. |
Nenhuma. |
|
AliasName |
String |
Sim |
Não |
Alias da CMK. Use este alias para chamar as operações Encrypt, GenerateDataKey e DescribeKey. |
O valor deve começar com o prefixo |
Valores de retorno
Fn::GetAtt
Exemplos
-
Formato
YAMLROSTemplateFormatVersion: '2015-09-01' Resources: Alias: Type: ALIYUN::KMS::Alias Properties: KeyId: Ref: KeyId AliasName: alias/test_key Parameters: KeyId: Type: String Description: Globally unique identifier of the CMK. Outputs: {} -
Formato
JSON{ "ROSTemplateFormatVersion": "2015-09-01", "Resources": { "Alias": { "Type": "ALIYUN::KMS::Alias", "Properties": { "KeyId": { "Ref": "KeyId" }, "AliasName": "alias/test_key" } } }, "Parameters": { "KeyId": { "Type": "String", "Description": "Globally unique identifier of the CMK." } }, "Outputs": {} }