CmdID / aws / aws payment-cryptography
aws payment-cryptography create-alias
Creates an alias, or a friendly name, for an Amazon Web Services Payment Cryptography key. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To create an alias for a key
The following create-alias example creates an alias for a key.
aws payment-cryptography create-alias --alias-name alias/sampleAlias1 --key-arn arn:aws:payment-cryptography:us-west-2:123456789012:key/kwapwa6qaifllw2hIdentify--alias-nameA friendly name that you can use to refer to a key.--key-arnThe KeyARN of the key to associate with the alias.Its output
{
"Alias": {
"AliasName": "alias/sampleAlias1",
"KeyArn": "arn:aws:payment-cryptography:us-west-2:123456789012:key/kwapwa6qaifllw2h"
}
}For more information, see About aliases in the AWS Payment Cryptography User Guide.
Options
--alias-nameA friendly name that you can use to refer to a key.--key-arnThe KeyARN of the key to associate with the alias.