Skip to content

AliasProps

Properties for defining a Alias.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-kms-alias

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkkms"
&alicloudroscdkkms.AliasProps {
    AliasName: interface{},
    KeyId: interface{},
}

Properties

Name Type Description
AliasName interface{} Property aliasName: - The display name of the key.
KeyId interface{} Property keyId: Globally unique identifier of the CMK.

AliasNameRequired

AliasName interface{}
  • Type: interface{}

Property aliasName: - The display name of the key.

You can use the alias to call APIs such as Encrypt, GenerateDataKey, and DescribeKey. - Not including the prefix, the minimum length of an alias is 1 and the maximum length is 255. - The prefix alias/ must be included.


KeyIdRequired

KeyId interface{}
  • Type: interface{}

Property keyId: Globally unique identifier of the CMK.