amazonka-kms-0.1.0: Amazon Key Management Service SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.KMS.CreateAlias

Contents

Description

Creates a display name for a customer master key. An alias can be used to identify a key and should be unique. The console enforces a one-to-one mapping between the alias and a key. An alias name can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). An alias must start with the word "alias" followed by a forward slash (alias/). An alias that begins with "aws" after the forward slash (alias/aws...) is reserved by Amazon Web Services (AWS).

http://docs.aws.amazon.com/kms/latest/APIReference/API_CreateAlias.html

Synopsis

Request

Request constructor

createAlias Source

CreateAlias constructor.

The fields accessible through corresponding lenses are:

Request lenses

caAliasName :: Lens' CreateAlias Text Source

String that contains the display name. Aliases that begin with AWS are reserved.

caTargetKeyId :: Lens' CreateAlias Text Source

An identifier of the key for which you are creating the alias. This value cannot be another alias.

Response

Response constructor